Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002275/0.002275, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002376/0.002376, allocations: 198.2 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002524/0.002524, allocations: 274.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.086/1.086, allocations: 178.6 MB / 0.5073 GB, free: 4.59 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00271/0.00271, allocations: 98.38 kB / 0.6065 GB, free: 24.78 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1692/0.172, allocations: 89.14 MB / 0.6936 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5719/0.7439, allocations: 241.9 MB / 0.9298 GB, free: 9.48 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01877/0.7627, allocations: 13.53 MB / 0.943 GB, free: 11.91 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001894/0.7646, allocations: 59.62 kB / 0.9431 GB, free: 11.86 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002592/0.7672, allocations: 0.9821 MB / 0.944 GB, free: 10.87 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.005128/0.7724, allocations: 1.775 MB / 0.9458 GB, free: 9.086 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003389/0.7758, allocations: 1.226 MB / 0.947 GB, free: 7.879 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004834/0.7807, allocations: 3.266 MB / 0.9502 GB, free: 4.598 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001699/0.7824, allocations: 1.047 MB / 0.9512 GB, free: 3.531 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009495/0.7919, allocations: 4.121 MB / 0.9552 GB, free: 15.39 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001617/0.7935, allocations: 0.8944 MB / 0.9561 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.7938, allocations: 76 kB / 0.9562 GB, free: 14.42 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001581/0.7954, allocations: 0.7014 MB / 0.9568 GB, free: 13.72 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004901/0.7959, allocations: 446.5 kB / 0.9573 GB, free: 13.28 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000912/0.7968, allocations: 0.68 MB / 0.9579 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.00213/0.7989, allocations: 1.491 MB / 0.9594 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.652e-06/0.7989, allocations: 4 kB / 0.9594 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7989, allocations: 0 / 0.9594 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.009e-05/0.799, allocations: 0 / 0.9594 GB, free: 11.1 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 193 * Number of variables: 193 Notification: Performance of Generate backend data structure: time 0.002328/0.8013, allocations: 1.615 MB / 0.961 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.842e-05/0.8014, allocations: 8.031 kB / 0.961 GB, free: 9.418 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000145/0.8015, allocations: 126.7 kB / 0.9611 GB, free: 9.285 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006749/0.8022, allocations: 206.1 kB / 0.9613 GB, free: 9.082 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001312/0.8035, allocations: 0.8308 MB / 0.9621 GB, free: 8.195 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001477/0.8037, allocations: 125.4 kB / 0.9622 GB, free: 8.062 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.8038, allocations: 80 kB / 0.9623 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001433/0.8052, allocations: 0.922 MB / 0.9632 GB, free: 6.973 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.139e-05/0.8053, allocations: 4 kB / 0.9632 GB, free: 6.969 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.669e-05/0.8053, allocations: 35.94 kB / 0.9632 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.8054, allocations: 20 kB / 0.9633 GB, free: 6.914 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009091/0.8063, allocations: 0.5055 MB / 0.9638 GB, free: 6.414 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005134/0.8114, allocations: 4.892 MB / 0.9685 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006579/0.8121, allocations: 424.6 kB / 0.9689 GB, free: 0.6641 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003948/0.8125, allocations: 263.8 kB / 0.9692 GB, free: 372 kB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001889/0.8127, allocations: 97.31 kB / 0.9693 GB, free: 256 kB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.602e-05/0.8128, allocations: 54.44 kB / 0.9693 GB, free: 192 kB / 0.6856 GB Notification: Performance of pre-optimization done (n=31): time 2.294e-06/0.8128, allocations: 0 / 0.9693 GB, free: 192 kB / 0.6856 GB Notification: Performance of matching and sorting (n=31): time 0.00189/0.8147, allocations: 0.7752 MB / 0.9701 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002023/0.8149, allocations: 405.8 kB / 0.9705 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001598/0.8165, allocations: 1.271 MB / 0.9717 GB, free: 13.59 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.429e-05/0.8166, allocations: 41.7 kB / 0.9718 GB, free: 13.55 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005084/0.8171, allocations: 0.5456 MB / 0.9723 GB, free: 13 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 9.695e-05/0.8172, allocations: 118.4 kB / 0.9724 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.8173, allocations: 77.7 kB / 0.9725 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.8175, allocations: 321.9 kB / 0.9728 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002219/0.8177, allocations: 107.5 kB / 0.9729 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004447/0.8181, allocations: 338.8 kB / 0.9732 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005216/0.8187, allocations: 332.5 kB / 0.9735 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.8187, allocations: 0 / 0.9735 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0009034/0.8196, allocations: 497.2 kB / 0.974 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.8196, allocations: 4 kB / 0.974 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/0.8196, allocations: 4 kB / 0.974 GB, free: 11.07 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00027/0.8199, allocations: 75.28 kB / 0.9741 GB, free: 10.99 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/0.8201, allocations: 59.91 kB / 0.9741 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002784/0.8229, allocations: 3.255 MB / 0.9773 GB, free: 7.395 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008282/0.8238, allocations: 99.14 kB / 0.9774 GB, free: 7.297 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.864e-05/0.8238, allocations: 25.11 kB / 0.9774 GB, free: 7.273 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004356/0.8243, allocations: 266.4 kB / 0.9777 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003953/0.8247, allocations: 138.4 kB / 0.9778 GB, free: 6.867 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001729/0.8248, allocations: 128 kB / 0.9779 GB, free: 6.738 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.269e-05/0.8249, allocations: 11.94 kB / 0.978 GB, free: 6.727 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.48e-05/0.8249, allocations: 8 kB / 0.978 GB, free: 6.719 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.8249, allocations: 7.984 kB / 0.978 GB, free: 6.711 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003442/0.8284, allocations: 2.516 MB / 0.9804 GB, free: 4.051 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.8284, allocations: 8 kB / 0.9804 GB, free: 4.043 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000175/0.8286, allocations: 48.86 kB / 0.9805 GB, free: 3.996 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/0.8288, allocations: 69.8 kB / 0.9805 GB, free: 3.922 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.869e-05/0.8289, allocations: 20 kB / 0.9806 GB, free: 3.902 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002743/0.8316, allocations: 3.259 MB / 0.9837 GB, free: 380 kB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.8316, allocations: 8 kB / 0.9838 GB, free: 372 kB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001083/0.8327, allocations: 0.6767 MB / 0.9844 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003912/0.8331, allocations: 243.4 kB / 0.9846 GB, free: 15.33 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001382/0.8333, allocations: 12 kB / 0.9847 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006538/0.8339, allocations: 47.94 kB / 0.9847 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.044e-05/0.834, allocations: 39.84 kB / 0.9847 GB, free: 15.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.871e-05/0.8341, allocations: 20 kB / 0.9848 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001229/0.8353, allocations: 0.8763 MB / 0.9856 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.2e-07/0.8353, allocations: 3.938 kB / 0.9856 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009912/0.8363, allocations: 259.7 kB / 0.9859 GB, free: 14.08 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,3,100.0%), (1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001557/0.8379, allocations: 1.332 MB / 0.9872 GB, free: 12.66 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0009681/0.8389, allocations: 0.5292 MB / 0.9877 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.296e-06/0.8389, allocations: 0 / 0.9877 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.8395, allocations: 407.1 kB / 0.9881 GB, free: 11.69 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.8429, allocations: 0.7441 MB / 0.9888 GB, free: 10.96 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01181/0.8547, allocations: 9.028 MB / 0.9976 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007817/0.8555, allocations: 1.13 MB / 0.9987 GB, free: 208 kB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009003/0.8565, allocations: 246.6 kB / 0.999 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004954/0.857, allocations: 439.3 kB / 0.9994 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of SimCode: time 8.22e-07/0.857, allocations: 0 / 0.9994 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0785/0.9355, allocations: 34 MB / 1.033 GB, free: 14.13 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.42/11.35, allocations: 4.812 kB / 1.033 GB, free: 14.12 MB / 0.7637 GB (rm -f BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Fluid_FixedResistances_Validation_PressureDropsExplicitLinearized.fmu > BuildingSystems_BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized.pipe 2>&1)