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.001081/0.00108, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001116, allocations: 191.3 kB / 16.25 MB, free: 6.637 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.346/1.346, allocations: 222.9 MB / 239.9 MB, free: 4.531 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 0.9622/0.9622, allocations: 143 MB / 433.1 MB, free: 11.56 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001298/0.001298, allocations: 55.91 kB / 0.5138 GB, free: 11.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1713, allocations: 82.04 MB / 0.5939 GB, free: 9.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.5005/0.6719, allocations: 191.5 MB / 0.7809 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01065/0.6826, allocations: 6.897 MB / 0.7877 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001573/0.6842, allocations: 39.69 kB / 0.7877 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001862/0.6861, allocations: 0.5906 MB / 0.7883 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005465/0.6916, allocations: 2.211 MB / 0.7904 GB, free: 4.203 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003137/0.6947, allocations: 1.304 MB / 0.7917 GB, free: 2.93 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003639/0.6984, allocations: 3.005 MB / 0.7946 GB, free: 15.92 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.6997, allocations: 0.914 MB / 0.7955 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002456/0.7021, allocations: 1.154 MB / 0.7967 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001402/0.7036, allocations: 0.8423 MB / 0.7975 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.7037, allocations: 104 kB / 0.7976 GB, free: 12.93 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003493/0.7072, allocations: 2.139 MB / 0.7997 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003942/0.7076, allocations: 366.9 kB / 0.8 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006461/0.7083, allocations: 0.5869 MB / 0.8006 GB, free: 9.836 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003492/0.7118, allocations: 2.575 MB / 0.8031 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.7118, allocations: 0 / 0.8031 GB, free: 7.254 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7118, allocations: 4 kB / 0.8031 GB, free: 7.25 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.89e-05/0.7119, allocations: 4 kB / 0.8031 GB, free: 7.246 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.003255/0.7151, allocations: 1.626 MB / 0.8047 GB, free: 5.562 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.7152, allocations: 12.03 kB / 0.8047 GB, free: 5.551 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001505/0.7153, allocations: 114.4 kB / 0.8048 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003042/0.7184, allocations: 0.5409 MB / 0.8054 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002094/0.7205, allocations: 0.9826 MB / 0.8063 GB, free: 3.863 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001179/0.7217, allocations: 277 kB / 0.8066 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001402/0.7218, allocations: 72 kB / 0.8067 GB, free: 3.523 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00261/0.7245, allocations: 1.124 MB / 0.8078 GB, free: 2.371 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/0.7245, allocations: 11.92 kB / 0.8078 GB, free: 2.359 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.94e-05/0.7246, allocations: 28 kB / 0.8078 GB, free: 2.332 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.114e-05/0.7246, allocations: 25.31 kB / 0.8078 GB, free: 2.309 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003134/0.7278, allocations: 1.2 MB / 0.809 GB, free: 1.105 MB / 0.6231 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.005793/0.7336, allocations: 3.201 MB / 0.8121 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001639/0.7353, allocations: 0.6919 MB / 0.8128 GB, free: 13.12 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007597/0.736, allocations: 420.6 kB / 0.8132 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008168/0.7369, allocations: 1.025 MB / 0.8142 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009761/0.7378, allocations: 0.5143 MB / 0.8147 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.284e-06/0.7379, allocations: 3.938 kB / 0.8147 GB, free: 10.92 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002832/0.7407, allocations: 1.221 MB / 0.8159 GB, free: 9.688 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.718e-05/0.7408, allocations: 140.8 kB / 0.816 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001807/0.7426, allocations: 1.204 MB / 0.8172 GB, free: 8.301 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.918e-05/0.7427, allocations: 37.7 kB / 0.8172 GB, free: 8.258 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000333/0.743, allocations: 445.5 kB / 0.8177 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001594/0.7432, allocations: 189.3 kB / 0.8178 GB, free: 7.633 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002675/0.7435, allocations: 146 kB / 0.818 GB, free: 7.484 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7436, allocations: 334 kB / 0.8183 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.7448, allocations: 456.9 kB / 0.8187 GB, free: 6.707 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001453/0.7463, allocations: 0.6132 MB / 0.8193 GB, free: 6.039 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002006/0.7483, allocations: 0.9496 MB / 0.8203 GB, free: 5.039 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/0.7483, allocations: 4 kB / 0.8203 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003078/0.7514, allocations: 1.233 MB / 0.8215 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.265e-05/0.7515, allocations: 37.7 kB / 0.8215 GB, free: 3.742 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.7515, allocations: 4 kB / 0.8215 GB, free: 3.738 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.043e-05/0.7515, allocations: 8 kB / 0.8215 GB, free: 3.73 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009653/0.7525, allocations: 203.6 kB / 0.8217 GB, free: 3.531 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.089e-05/0.7525, allocations: 4 kB / 0.8217 GB, free: 3.527 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001574/0.7541, allocations: 272.5 kB / 0.822 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.57e-05/0.7542, allocations: 35.98 kB / 0.822 GB, free: 3.227 MB / 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.0004662/0.7547, allocations: 332.8 kB / 0.8223 GB, free: 2.887 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.7549, allocations: 118.6 kB / 0.8224 GB, free: 2.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002127/0.757, allocations: 1 MB / 0.8234 GB, free: 1.762 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.768e-05/0.757, allocations: 11.94 kB / 0.8234 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.757, allocations: 0 / 0.8234 GB, free: 1.75 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.139e-05/0.7571, allocations: 3.984 kB / 0.8234 GB, free: 1.746 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004677/0.7617, allocations: 3.17 MB / 0.8265 GB, free: 14.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/0.7618, allocations: 7.984 kB / 0.8265 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006039/0.7624, allocations: 119.8 kB / 0.8266 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.178e-05/0.7624, allocations: 12.19 kB / 0.8267 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.7625, allocations: 23.98 kB / 0.8267 GB, free: 14.26 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.105e-05/0.7625, allocations: 15.94 kB / 0.8267 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.7625, allocations: 11.94 kB / 0.8267 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/0.7646, allocations: 1.344 MB / 0.828 GB, free: 12.78 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000473/0.7651, allocations: 327.4 kB / 0.8283 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001607/0.7652, allocations: 23.98 kB / 0.8284 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.7664, allocations: 107.9 kB / 0.8285 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001099/0.7665, allocations: 63.75 kB / 0.8285 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.571e-05/0.7666, allocations: 43.95 kB / 0.8286 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001461/0.7681, allocations: 0.8716 MB / 0.8294 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7681, allocations: 0 / 0.8294 GB, free: 11.32 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.00102/0.7691, allocations: 295.8 kB / 0.8297 GB, free: 11.04 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.002861/0.772, allocations: 2.126 MB / 0.8318 GB, free: 8.801 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.7744, allocations: 1.048 MB / 0.8328 GB, free: 7.738 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.512e-06/0.7744, allocations: 4 kB / 0.8328 GB, free: 7.734 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0008923/0.7753, allocations: 0.5164 MB / 0.8333 GB, free: 7.207 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002659/0.778, allocations: 0.5521 MB / 0.8338 GB, free: 6.688 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.7957, allocations: 10.24 MB / 0.8438 GB, free: 11.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005928/0.7963, allocations: 1.069 MB / 0.8449 GB, free: 10.8 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001145/0.7975, allocations: 277.9 kB / 0.8452 GB, free: 10.53 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004848/0.798, allocations: 363.2 kB / 0.8455 GB, free: 10.18 MB / 0.67 GB Notification: Performance of SimCode: time 5.61e-07/0.798, allocations: 0 / 0.8455 GB, free: 10.18 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2887/1.087, allocations: 31.51 MB / 0.8763 GB, free: 209.7 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001507/1.087, allocations: 281.3 kB / 0.8765 GB, free: 209.3 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.446/3.533, allocations: 2.188 kB / 0.8765 GB, free: 209.3 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)