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.001474/0.001474, allocations: 108 kB / 15.6 MB, free: 132 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.002003/0.002003, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.317/1.317, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002068/0.002068, allocations: 286.5 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.927/0.927, allocations: 169.3 MB / 0.4982 GB, free: 13.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001842/0.001842, allocations: 93.33 kB / 0.5953 GB, free: 27.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1454, allocations: 86.98 MB / 0.6803 GB, free: 0.6133 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.FixedResistances.Validation.PressureDropsExplicitLinearized): time 0.5203/0.6658, allocations: 241.9 MB / 0.9165 GB, free: 5.371 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01578/0.6816, allocations: 13.51 MB / 0.9297 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001973/0.6836, allocations: 59.62 kB / 0.9298 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002371/0.686, allocations: 0.9821 MB / 0.9307 GB, free: 6.773 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.0043/0.6903, allocations: 1.785 MB / 0.9325 GB, free: 4.984 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002825/0.6931, allocations: 1.215 MB / 0.9337 GB, free: 3.781 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003714/0.6969, allocations: 3.269 MB / 0.9368 GB, free: 0.5039 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001571/0.6985, allocations: 1.051 MB / 0.9379 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008747/0.7072, allocations: 4.117 MB / 0.9419 GB, free: 11.3 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00142/0.7087, allocations: 0.8943 MB / 0.9428 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003014/0.709, allocations: 76 kB / 0.9428 GB, free: 10.32 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001754/0.7107, allocations: 0.6975 MB / 0.9435 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005483/0.7113, allocations: 450.6 kB / 0.944 GB, free: 9.184 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001076/0.7124, allocations: 0.6839 MB / 0.9446 GB, free: 8.496 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001976/0.7144, allocations: 1.51 MB / 0.9461 GB, free: 6.98 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.7144, allocations: 4 kB / 0.9461 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7144, allocations: 0 / 0.9461 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.558e-05/0.7145, allocations: 0 / 0.9461 GB, free: 6.977 MB / 0.6544 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.002316/0.7168, allocations: 1.624 MB / 0.9477 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/0.7168, allocations: 12.03 kB / 0.9477 GB, free: 5.285 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001351/0.717, allocations: 126.7 kB / 0.9478 GB, free: 5.152 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006565/0.7176, allocations: 198.2 kB / 0.948 GB, free: 4.957 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001182/0.7188, allocations: 0.8362 MB / 0.9488 GB, free: 4.066 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001207/0.719, allocations: 121.4 kB / 0.9489 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.289e-05/0.7191, allocations: 88 kB / 0.949 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001233/0.7203, allocations: 0.922 MB / 0.9499 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.7203, allocations: 0 / 0.9499 GB, free: 2.84 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.41e-05/0.7204, allocations: 36 kB / 0.95 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.697e-05/0.7204, allocations: 20 kB / 0.95 GB, free: 2.785 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000843/0.7213, allocations: 0.5071 MB / 0.9505 GB, free: 2.277 MB / 0.6544 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.004151/0.7254, allocations: 4.889 MB / 0.9552 GB, free: 13.08 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005269/0.726, allocations: 422.9 kB / 0.9556 GB, free: 12.54 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.7263, allocations: 259.9 kB / 0.9559 GB, free: 12.24 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001587/0.7265, allocations: 101.1 kB / 0.956 GB, free: 12.12 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.342e-05/0.7265, allocations: 58.48 kB / 0.956 GB, free: 12.06 MB / 0.67 GB Notification: Performance of pre-optimization done (n=31): time 1.953e-06/0.7265, allocations: 0 / 0.956 GB, free: 12.06 MB / 0.67 GB Notification: Performance of matching and sorting (n=31): time 0.001717/0.7283, allocations: 0.7836 MB / 0.9568 GB, free: 11.23 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001347/0.7284, allocations: 393.5 kB / 0.9572 GB, free: 10.75 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00138/0.7298, allocations: 1.271 MB / 0.9584 GB, free: 9.469 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 4.559e-05/0.7298, allocations: 37.69 kB / 0.9585 GB, free: 9.426 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/0.7303, allocations: 0.5574 MB / 0.959 GB, free: 8.863 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 7.281e-05/0.7303, allocations: 102.5 kB / 0.9591 GB, free: 8.762 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000112/0.7304, allocations: 81.59 kB / 0.9592 GB, free: 8.676 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.422e-05/0.7306, allocations: 325.9 kB / 0.9595 GB, free: 8.352 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001966/0.7308, allocations: 95.67 kB / 0.9596 GB, free: 8.258 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003682/0.7311, allocations: 335.8 kB / 0.9599 GB, free: 7.836 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004547/0.7316, allocations: 328.5 kB / 0.9602 GB, free: 7.469 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.7316, allocations: 4 kB / 0.9602 GB, free: 7.465 MB / 0.67 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0008008/0.7324, allocations: 497.5 kB / 0.9607 GB, free: 6.965 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.435e-05/0.7324, allocations: 8 kB / 0.9607 GB, free: 6.957 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7325, allocations: 4 kB / 0.9607 GB, free: 6.953 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002549/0.7327, allocations: 69.67 kB / 0.9608 GB, free: 6.879 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002005/0.7329, allocations: 63.94 kB / 0.9608 GB, free: 6.816 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/0.7351, allocations: 3.262 MB / 0.964 GB, free: 3.277 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006778/0.7358, allocations: 91.17 kB / 0.9641 GB, free: 3.188 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.7358, allocations: 20 kB / 0.9641 GB, free: 3.168 MB / 0.67 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.0003266/0.7361, allocations: 275.2 kB / 0.9644 GB, free: 2.891 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003832/0.7365, allocations: 138.3 kB / 0.9645 GB, free: 2.754 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/0.7367, allocations: 127.9 kB / 0.9646 GB, free: 2.625 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.7367, allocations: 11.94 kB / 0.9647 GB, free: 2.613 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.807e-06/0.7367, allocations: 4 kB / 0.9647 GB, free: 2.609 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.7367, allocations: 4 kB / 0.9647 GB, free: 2.605 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.7396, allocations: 2.523 MB / 0.9671 GB, free: 15.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.7396, allocations: 4 kB / 0.9671 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.7398, allocations: 48.59 kB / 0.9672 GB, free: 15.89 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001827/0.74, allocations: 77.67 kB / 0.9673 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.74, allocations: 12.94 kB / 0.9673 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002157/0.7421, allocations: 3.264 MB / 0.9705 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.76e-06/0.7422, allocations: 4.188 kB / 0.9705 GB, free: 12.25 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000822/0.743, allocations: 0.6883 MB / 0.9711 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003432/0.7434, allocations: 247.5 kB / 0.9714 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001605/0.7435, allocations: 12 kB / 0.9714 GB, free: 11.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006576/0.7442, allocations: 41.08 kB / 0.9714 GB, free: 11.16 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.249e-05/0.7443, allocations: 43.83 kB / 0.9715 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.047e-05/0.7443, allocations: 19.98 kB / 0.9715 GB, free: 11.09 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001065/0.7454, allocations: 0.8763 MB / 0.9723 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7454, allocations: 0 / 0.9723 GB, free: 10.22 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009315/0.7463, allocations: 259.7 kB / 0.9726 GB, free: 9.965 MB / 0.6856 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.001313/0.7476, allocations: 1.33 MB / 0.9739 GB, free: 8.543 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0008693/0.7485, allocations: 0.5253 MB / 0.9744 GB, free: 7.992 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.7485, allocations: 4.125 kB / 0.9744 GB, free: 7.988 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0004865/0.749, allocations: 402.3 kB / 0.9748 GB, free: 7.57 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003309/0.7524, allocations: 0.7533 MB / 0.9755 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01031/0.7627, allocations: 9.016 MB / 0.9843 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006181/0.7633, allocations: 1.134 MB / 0.9854 GB, free: 12.09 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0008079/0.7641, allocations: 246.5 kB / 0.9857 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004288/0.7646, allocations: 435.3 kB / 0.9861 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of SimCode: time 4.91e-07/0.7646, allocations: 0 / 0.9861 GB, free: 11.42 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06477/0.8293, allocations: 34.01 MB / 1.019 GB, free: 10.02 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.594/10.42, allocations: 12.17 kB / 1.019 GB, free: 10.01 MB / 0.7325 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)