Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation",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.001087/0.001087, 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.001138/0.001138, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.311/1.311, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 1.024/1.024, allocations: 143 MB / 433.4 MB, free: 11.55 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 67.91 kB / 0.5143 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1426/0.1439, allocations: 82.04 MB / 0.5944 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4854/0.6294, allocations: 194.1 MB / 0.7839 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01094/0.6404, allocations: 6.934 MB / 0.7907 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00175/0.6422, allocations: 47.69 kB / 0.7907 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001813/0.644, allocations: 0.6947 MB / 0.7914 GB, free: 3.305 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005678/0.6498, allocations: 2.341 MB / 0.7937 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.653, allocations: 1.41 MB / 0.7951 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003441/0.6565, allocations: 2.986 MB / 0.798 GB, free: 12.59 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001224/0.6577, allocations: 0.8927 MB / 0.7989 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002427/0.6602, allocations: 1.119 MB / 0.8 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001242/0.6614, allocations: 0.8012 MB / 0.8007 GB, free: 9.785 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002214/0.6617, allocations: 100 kB / 0.8008 GB, free: 9.688 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003834/0.6655, allocations: 2.05 MB / 0.8028 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004295/0.6659, allocations: 370.8 kB / 0.8032 GB, free: 7.27 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0007438/0.6667, allocations: 0.5831 MB / 0.8038 GB, free: 6.684 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003653/0.6704, allocations: 2.466 MB / 0.8062 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.375e-06/0.6704, allocations: 0 / 0.8062 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.537e-06/0.6704, allocations: 7.938 kB / 0.8062 GB, free: 4.203 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 5.329e-05/0.6705, allocations: 0 / 0.8062 GB, free: 4.203 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.003877/0.6743, allocations: 1.626 MB / 0.8078 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.6744, allocations: 15.97 kB / 0.8078 GB, free: 2.504 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001392/0.6745, allocations: 118.4 kB / 0.8079 GB, free: 2.379 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003017/0.6776, allocations: 0.5339 MB / 0.8084 GB, free: 1.844 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001971/0.6795, allocations: 0.9849 MB / 0.8094 GB, free: 0.8164 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001187/0.6807, allocations: 281 kB / 0.8096 GB, free: 0.543 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.6809, allocations: 68 kB / 0.8097 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002417/0.6833, allocations: 1.128 MB / 0.8108 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.908e-05/0.6833, allocations: 0 / 0.8108 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.516e-05/0.6834, allocations: 28 kB / 0.8108 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.835e-05/0.6835, allocations: 33.3 kB / 0.8109 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003276/0.6867, allocations: 1.196 MB / 0.812 GB, free: 14.06 MB / 0.6387 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.005632/0.6924, allocations: 3.223 MB / 0.8152 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001707/0.6941, allocations: 0.6918 MB / 0.8159 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008194/0.6949, allocations: 427.9 kB / 0.8163 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009591/0.6959, allocations: 1.025 MB / 0.8173 GB, free: 8.391 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001032/0.697, allocations: 0.5065 MB / 0.8178 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.364e-06/0.697, allocations: 0 / 0.8178 GB, free: 7.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.003057/0.7, allocations: 1.221 MB / 0.819 GB, free: 6.625 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.933e-05/0.7001, allocations: 152.7 kB / 0.8191 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002203/0.7024, allocations: 1.2 MB / 0.8203 GB, free: 5.23 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.716e-05/0.7025, allocations: 41.69 kB / 0.8203 GB, free: 5.184 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003642/0.7028, allocations: 429.5 kB / 0.8207 GB, free: 4.762 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001662/0.703, allocations: 189.2 kB / 0.8209 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000284/0.7033, allocations: 150 kB / 0.821 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000109/0.7034, allocations: 334 kB / 0.8214 GB, free: 4.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001386/0.7048, allocations: 452.9 kB / 0.8218 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001619/0.7064, allocations: 0.6133 MB / 0.8224 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00224/0.7087, allocations: 0.9457 MB / 0.8233 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.7087, allocations: 0 / 0.8233 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.00349/0.7122, allocations: 1.236 MB / 0.8245 GB, free: 0.7344 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.563e-05/0.7123, allocations: 41.69 kB / 0.8246 GB, free: 0.6875 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.074e-05/0.7123, allocations: 4 kB / 0.8246 GB, free: 0.6836 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.7123, allocations: 4 kB / 0.8246 GB, free: 0.6797 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001012/0.7133, allocations: 199.9 kB / 0.8248 GB, free: 496 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.447e-05/0.7134, allocations: 12.48 kB / 0.8248 GB, free: 484 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/0.715, allocations: 264.4 kB / 0.825 GB, free: 220 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.7151, allocations: 46.86 kB / 0.8251 GB, free: 176 kB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 7 (QSen_flow.nextEventScaled,QSen_flow.nextEvent,$PRE.QSen_flow.nextEvent,QSen_flow.last,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005168/0.7157, allocations: 329.2 kB / 0.8254 GB, free: 15.83 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.7159, allocations: 114.6 kB / 0.8255 GB, free: 15.72 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002149/0.718, allocations: 0.9989 MB / 0.8265 GB, free: 14.71 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.675e-05/0.7181, allocations: 15.92 kB / 0.8265 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.067e-06/0.7181, allocations: 4 kB / 0.8265 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.654e-06/0.7181, allocations: 0 / 0.8265 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004809/0.7229, allocations: 3.167 MB / 0.8296 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.7229, allocations: 8 kB / 0.8296 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000613/0.7236, allocations: 120 kB / 0.8297 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.338e-05/0.7236, allocations: 12 kB / 0.8297 GB, free: 11.23 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.354e-05/0.7236, allocations: 23.98 kB / 0.8297 GB, free: 11.21 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.546e-05/0.7237, allocations: 15.94 kB / 0.8298 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.295e-05/0.7237, allocations: 11.94 kB / 0.8298 GB, free: 11.18 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/0.7259, allocations: 1.344 MB / 0.8311 GB, free: 9.727 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004909/0.7264, allocations: 331.4 kB / 0.8314 GB, free: 9.383 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001679/0.7266, allocations: 16 kB / 0.8314 GB, free: 9.367 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.7278, allocations: 111.9 kB / 0.8315 GB, free: 9.258 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.7279, allocations: 59.77 kB / 0.8316 GB, free: 9.199 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.121e-05/0.728, allocations: 43.97 kB / 0.8316 GB, free: 9.156 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001657/0.7297, allocations: 0.8754 MB / 0.8325 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7297, allocations: 3.938 kB / 0.8325 GB, free: 8.27 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001154/0.7308, allocations: 303.8 kB / 0.8328 GB, free: 7.973 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,QSen_flow.a,QSen_flow.b,QSen_flow.last,QSen_flow.nextEvent,QSen_flow.nextEventScaled) * Number of discrete states: 6 (QSen_flow.nextEvent,QSen_flow.last,QSen_flow.nextEventScaled,QSen_flow.b,QSen_flow.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (56): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003017/0.7339, allocations: 2.122 MB / 0.8348 GB, free: 5.746 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00266/0.7365, allocations: 1.041 MB / 0.8359 GB, free: 4.691 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.933e-06/0.7366, allocations: 4 kB / 0.8359 GB, free: 4.688 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009645/0.7375, allocations: 0.5125 MB / 0.8364 GB, free: 4.164 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002935/0.7405, allocations: 0.5618 MB / 0.8369 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01754/0.758, allocations: 9.985 MB / 0.8467 GB, free: 9.113 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006765/0.7587, allocations: 1.069 MB / 0.8477 GB, free: 8.016 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001166/0.7599, allocations: 279.2 kB / 0.848 GB, free: 7.746 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005525/0.7605, allocations: 363.2 kB / 0.8483 GB, free: 7.391 MB / 0.67 GB Notification: Performance of SimCode: time 1.072e-06/0.7605, allocations: 0 / 0.8483 GB, free: 7.391 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3133/1.074, allocations: 31.71 MB / 0.8793 GB, free: 210.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.35/9.424, allocations: 5.469 kB / 0.8793 GB, free: 210.1 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Interfaces_Examples_StaticTwoPortConservationEquation.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation.pipe 2>&1)