Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.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.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction",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.0007704/0.0007703, allocations: 90.83 kB / 15.36 MB, free: 0.7383 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.004559/0.004559, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.258/1.258, allocations: 223.3 MB / 240.3 MB, free: 5.332 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.9437/0.9437, allocations: 143.2 MB / 434.6 MB, free: 13.7 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003243/0.0003243, allocations: 12 kB / 0.5165 GB, free: 11.07 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1564, allocations: 83.41 MB / 0.598 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction): time 0.49/0.6464, allocations: 234.7 MB / 0.8271 GB, free: 1.059 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01093/0.6574, allocations: 7.243 MB / 0.8342 GB, free: 9.801 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001814/0.6593, allocations: 43.69 kB / 0.8343 GB, free: 9.758 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001803/0.6611, allocations: 0.5789 MB / 0.8348 GB, free: 9.176 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.005092/0.6662, allocations: 1.947 MB / 0.8367 GB, free: 7.223 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004766/0.671, allocations: 1.869 MB / 0.8385 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005698/0.6767, allocations: 4.434 MB / 0.8429 GB, free: 0.9219 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001608/0.6783, allocations: 0.9197 MB / 0.8438 GB, free: 15.98 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003827/0.6822, allocations: 1.568 MB / 0.8453 GB, free: 14.41 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001905/0.6841, allocations: 0.9585 MB / 0.8462 GB, free: 13.45 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001531/0.6843, allocations: 56 kB / 0.8463 GB, free: 13.39 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004844/0.6891, allocations: 2.821 MB / 0.8491 GB, free: 10.57 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004361/0.6896, allocations: 382.7 kB / 0.8494 GB, free: 10.19 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0008176/0.6904, allocations: 0.6624 MB / 0.8501 GB, free: 9.52 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.003747/0.6941, allocations: 2.823 MB / 0.8528 GB, free: 6.688 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.6942, allocations: 0 / 0.8528 GB, free: 6.688 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.114e-06/0.6942, allocations: 0 / 0.8528 GB, free: 6.688 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.044e-05/0.6942, allocations: 0 / 0.8528 GB, free: 6.688 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002488/0.6967, allocations: 1.482 MB / 0.8543 GB, free: 5.152 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 3.929e-05/0.6967, allocations: 8.031 kB / 0.8543 GB, free: 5.145 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001429/0.6969, allocations: 126.8 kB / 0.8544 GB, free: 5.012 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002414/0.6993, allocations: 418 kB / 0.8548 GB, free: 4.602 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.7007, allocations: 0.9716 MB / 0.8557 GB, free: 3.586 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.678e-05/0.7008, allocations: 62 kB / 0.8558 GB, free: 3.527 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001255/0.7009, allocations: 83.98 kB / 0.8559 GB, free: 3.445 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001472/0.7024, allocations: 0.8819 MB / 0.8567 GB, free: 2.559 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.927e-05/0.7024, allocations: 0 / 0.8567 GB, free: 2.559 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.35e-05/0.7025, allocations: 32 kB / 0.8568 GB, free: 2.527 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.128e-05/0.7025, allocations: 26 kB / 0.8568 GB, free: 2.5 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0014/0.7039, allocations: 0.8315 MB / 0.8576 GB, free: 1.668 MB / 0.67 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.2808/0.9848, allocations: 3.643 MB / 0.8612 GB, free: 210 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.986, allocations: 1.104 MB / 0.8622 GB, free: 209.4 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005325/0.9866, allocations: 381.7 kB / 0.8626 GB, free: 209.4 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00058/0.9872, allocations: 422.1 kB / 0.863 GB, free: 209 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.517e-05/0.9872, allocations: 39.34 kB / 0.863 GB, free: 209 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 2.475e-06/0.9872, allocations: 0 / 0.863 GB, free: 209 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001921/0.9892, allocations: 0.992 MB / 0.864 GB, free: 208.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.806e-05/0.9892, allocations: 60.72 kB / 0.8641 GB, free: 208.8 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.9902, allocations: 0.8374 MB / 0.8649 GB, free: 208.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.328e-05/0.9903, allocations: 41.64 kB / 0.8649 GB, free: 208.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002964/0.9906, allocations: 481.8 kB / 0.8654 GB, free: 208.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.000166/0.9908, allocations: 210.8 kB / 0.8656 GB, free: 208.4 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.825e-05/0.9909, allocations: 53.09 kB / 0.8656 GB, free: 208.4 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.9909, allocations: 330.7 kB / 0.866 GB, free: 208 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004269/0.9914, allocations: 260.6 kB / 0.8662 GB, free: 208 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005198/0.9919, allocations: 381.1 kB / 0.8666 GB, free: 208 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.993, allocations: 0.6146 MB / 0.8672 GB, free: 207.9 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.993, allocations: 0.5625 kB / 0.8672 GB, free: 207.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001189/0.9942, allocations: 0.7544 MB / 0.8679 GB, free: 207.8 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.9942, allocations: 121.7 kB / 0.868 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.9942, allocations: 2.516 kB / 0.868 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/0.9943, allocations: 5.781 kB / 0.868 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005062/0.9948, allocations: 134.8 kB / 0.8682 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.069e-05/0.9948, allocations: 3.594 kB / 0.8682 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009587/0.9958, allocations: 132.2 kB / 0.8683 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.366e-05/0.9958, allocations: 27.03 kB / 0.8683 GB, free: 207.7 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.103e-06/0.9958, allocations: 2.969 kB / 0.8683 GB, free: 207.7 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009882/0.9968, allocations: 0.6322 MB / 0.8689 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.188e-06/0.9968, allocations: 0.8438 kB / 0.8689 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.332e-06/0.9969, allocations: 5.312 kB / 0.8689 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004785/0.9973, allocations: 131.9 kB / 0.8691 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.9974, allocations: 2.844 kB / 0.8691 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000896/0.9983, allocations: 140.4 kB / 0.8692 GB, free: 207.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.444e-05/0.9983, allocations: 24.56 kB / 0.8692 GB, free: 207.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * 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.0004171/0.9987, allocations: 380.8 kB / 0.8696 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.9989, allocations: 104.4 kB / 0.8697 GB, free: 207.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001423/1, allocations: 0.7668 MB / 0.8704 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.884e-06/1, allocations: 5.344 kB / 0.8704 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1, allocations: 0 / 0.8704 GB, free: 207.3 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009938/1.001, allocations: 0.9235 MB / 0.8713 GB, free: 206.9 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003028/1.004, allocations: 2.267 MB / 0.8736 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.004, allocations: 6.812 kB / 0.8736 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005755/1.005, allocations: 150 kB / 0.8737 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.189e-05/1.005, allocations: 5.5 kB / 0.8737 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.008e-05/1.005, allocations: 17.06 kB / 0.8737 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.375e-06/1.005, allocations: 6.094 kB / 0.8737 GB, free: 205.8 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/1.005, allocations: 9.938 kB / 0.8737 GB, free: 205.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001617/1.007, allocations: 1.26 MB / 0.875 GB, free: 205.1 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003729/1.007, allocations: 262.4 kB / 0.8752 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001373/1.007, allocations: 16.25 kB / 0.8752 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008228/1.008, allocations: 99.44 kB / 0.8753 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001144/1.008, allocations: 56.61 kB / 0.8754 GB, free: 204.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/1.008, allocations: 25 kB / 0.8754 GB, free: 204.9 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.000738/1.009, allocations: 0.5847 MB / 0.876 GB, free: 204.6 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.3e-07/1.009, allocations: 4.891 kB / 0.876 GB, free: 204.6 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001275/1.01, allocations: 0.5308 MB / 0.8765 GB, free: 204.5 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 6 (spl.vol.dynBal.medium.Xi[1],spl.vol.dynBal.U,spl.vol.dynBal.m,senTem1.T,senTem2.T,senTem3.T) * 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 (60): * Single equations (assignments): 60 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.002197/1.012, allocations: 1.944 MB / 0.8784 GB, free: 203.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001576/1.014, allocations: 0.9684 MB / 0.8794 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.717e-06/1.014, allocations: 0 / 0.8794 GB, free: 203 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004952/1.015, allocations: 357.5 kB / 0.8797 GB, free: 202.9 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/1.018, allocations: 0.6264 MB / 0.8803 GB, free: 202.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01105/1.029, allocations: 8.533 MB / 0.8886 GB, free: 197.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006391/1.029, allocations: 1.129 MB / 0.8897 GB, free: 197.2 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001168/1.031, allocations: 303.9 kB / 0.89 GB, free: 197.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004916/1.031, allocations: 413.5 kB / 0.8904 GB, free: 196.8 MB / 0.67 GB Notification: Performance of SimCode: time 7.82e-07/1.031, allocations: 0 / 0.8904 GB, free: 196.8 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05965/1.091, allocations: 28.21 MB / 0.918 GB, free: 191.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/1.091, allocations: 263 kB / 0.9182 GB, free: 191.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.391/3.482, allocations: 0 / 0.9182 GB, free: 191.2 MB / 0.67 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_FixedResistances_Examples_FlowJunction.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)