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.001124/0.001124, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.0013/0.0013, allocations: 196.7 kB / 16.14 MB, free: 6.695 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.352/1.352, allocations: 222.9 MB / 239.8 MB, free: 4.613 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.9908/0.9908, allocations: 143 MB / 433 MB, free: 11.72 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 67.89 kB / 0.5136 GB, free: 12.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1461, allocations: 82.04 MB / 0.5937 GB, free: 9.961 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.StaticTwoPortConservationEquation): time 0.4427/0.5889, allocations: 191.7 MB / 0.7809 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01005/0.599, allocations: 6.999 MB / 0.7878 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/0.6001, allocations: 39.69 kB / 0.7878 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00154/0.6017, allocations: 0.5671 MB / 0.7883 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00477/0.6065, allocations: 2.187 MB / 0.7905 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002848/0.6094, allocations: 1.285 MB / 0.7917 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003804/0.6132, allocations: 3.738 MB / 0.7954 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.6143, allocations: 0.7853 MB / 0.7962 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.6158, allocations: 0.9803 MB / 0.7971 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001501/0.6173, allocations: 0.812 MB / 0.7979 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.6175, allocations: 48 kB / 0.798 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003606/0.6211, allocations: 2.225 MB / 0.8001 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003347/0.6214, allocations: 314.9 kB / 0.8004 GB, free: 9.961 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005791/0.622, allocations: 0.5439 MB / 0.801 GB, free: 9.414 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003153/0.6252, allocations: 2.497 MB / 0.8034 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.6252, allocations: 0 / 0.8034 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of FrontEnd: time 7.61e-07/0.6252, allocations: 0 / 0.8034 GB, free: 6.91 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.283e-05/0.6252, allocations: 0 / 0.8034 GB, free: 6.91 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.003252/0.6285, allocations: 1.633 MB / 0.805 GB, free: 5.219 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.6285, allocations: 8.031 kB / 0.805 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001468/0.6287, allocations: 122.4 kB / 0.8051 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002907/0.6316, allocations: 0.5292 MB / 0.8056 GB, free: 4.551 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.6337, allocations: 0.9923 MB / 0.8066 GB, free: 3.52 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00112/0.6349, allocations: 281 kB / 0.8069 GB, free: 3.242 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001242/0.635, allocations: 64 kB / 0.8069 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/0.6375, allocations: 1.128 MB / 0.808 GB, free: 2.023 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.861e-05/0.6375, allocations: 3.938 kB / 0.808 GB, free: 2.02 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.075e-05/0.6376, allocations: 28 kB / 0.8081 GB, free: 1.992 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.303e-05/0.6377, allocations: 33.31 kB / 0.8081 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003199/0.6409, allocations: 1.203 MB / 0.8093 GB, free: 0.7539 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.005976/0.6469, allocations: 3.203 MB / 0.8124 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00169/0.6486, allocations: 0.6841 MB / 0.8131 GB, free: 12.78 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007802/0.6494, allocations: 420.2 kB / 0.8135 GB, free: 12.37 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008731/0.6503, allocations: 1.025 MB / 0.8145 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001035/0.6513, allocations: 0.5221 MB / 0.815 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=57): time 2.204e-06/0.6513, allocations: 0 / 0.815 GB, free: 10.57 MB / 0.6387 GB Notification: Performance of matching and sorting (n=57): time 0.002946/0.6543, allocations: 1.213 MB / 0.8162 GB, free: 9.348 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.271e-05/0.6544, allocations: 148.8 kB / 0.8163 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001968/0.6563, allocations: 1.207 MB / 0.8175 GB, free: 7.949 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.207e-05/0.6564, allocations: 37.7 kB / 0.8175 GB, free: 7.906 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003575/0.6568, allocations: 433.5 kB / 0.8179 GB, free: 7.48 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001718/0.657, allocations: 193.2 kB / 0.8181 GB, free: 7.289 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002766/0.6573, allocations: 150 kB / 0.8183 GB, free: 7.137 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.6574, allocations: 326 kB / 0.8186 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001272/0.6587, allocations: 464.9 kB / 0.819 GB, free: 6.359 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.6601, allocations: 0.6132 MB / 0.8196 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002022/0.6622, allocations: 0.9422 MB / 0.8205 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.6622, allocations: 0 / 0.8205 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.003228/0.6654, allocations: 1.24 MB / 0.8217 GB, free: 3.441 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/0.6655, allocations: 39.58 kB / 0.8218 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/0.6655, allocations: 7.984 kB / 0.8218 GB, free: 3.391 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/0.6655, allocations: 4 kB / 0.8218 GB, free: 3.387 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009677/0.6665, allocations: 203.9 kB / 0.822 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/0.6665, allocations: 4.625 kB / 0.822 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001545/0.6681, allocations: 270.9 kB / 0.8222 GB, free: 2.918 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.6682, allocations: 35.98 kB / 0.8223 GB, free: 2.883 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.0005313/0.6687, allocations: 327.3 kB / 0.8226 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.6689, allocations: 114.6 kB / 0.8227 GB, free: 2.434 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002066/0.671, allocations: 0.9995 MB / 0.8237 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.671, allocations: 11.94 kB / 0.8237 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.671, allocations: 0 / 0.8237 GB, free: 1.414 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/0.671, allocations: 7.984 kB / 0.8237 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004718/0.6758, allocations: 3.162 MB / 0.8268 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/0.6758, allocations: 8 kB / 0.8268 GB, free: 14.08 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005899/0.6764, allocations: 124.2 kB / 0.8269 GB, free: 13.96 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/0.6764, allocations: 11.94 kB / 0.8269 GB, free: 13.95 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.562e-05/0.6765, allocations: 27.98 kB / 0.827 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.718e-06/0.6765, allocations: 11.94 kB / 0.827 GB, free: 13.91 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/0.6765, allocations: 11.94 kB / 0.827 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002088/0.6786, allocations: 1.348 MB / 0.8283 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.679, allocations: 327.4 kB / 0.8286 GB, free: 12.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001566/0.6792, allocations: 27.98 kB / 0.8286 GB, free: 12.07 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.6803, allocations: 111.9 kB / 0.8287 GB, free: 11.96 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.6805, allocations: 55.77 kB / 0.8288 GB, free: 11.9 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.651e-05/0.6805, allocations: 43.97 kB / 0.8288 GB, free: 11.86 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001454/0.682, allocations: 0.8716 MB / 0.8297 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.682, allocations: 3.938 kB / 0.8297 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0009828/0.683, allocations: 303.8 kB / 0.83 GB, free: 10.68 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.002942/0.6859, allocations: 2.131 MB / 0.8321 GB, free: 8.445 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002396/0.6884, allocations: 1.013 MB / 0.833 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.6884, allocations: 0 / 0.833 GB, free: 7.418 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0009028/0.6893, allocations: 0.5125 MB / 0.8335 GB, free: 6.895 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002691/0.692, allocations: 0.5275 MB / 0.8341 GB, free: 6.387 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01818/0.7102, allocations: 10.25 MB / 0.8441 GB, free: 11.59 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006304/0.7108, allocations: 1.069 MB / 0.8451 GB, free: 10.49 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001214/0.7121, allocations: 276.6 kB / 0.8454 GB, free: 10.22 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.7126, allocations: 363.3 kB / 0.8457 GB, free: 9.867 MB / 0.67 GB Notification: Performance of SimCode: time 1.823e-06/0.7126, allocations: 0 / 0.8457 GB, free: 9.867 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.276/0.9886, allocations: 30.76 MB / 0.8758 GB, free: 208 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001458/0.9887, allocations: 278.4 kB / 0.876 GB, free: 207.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/3.281, allocations: 2.25 kB / 0.876 GB, free: 207.7 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)