Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.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(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_IDEAS_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.001134/0.001134, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001172/0.001172, allocations: 194.7 kB / 16.25 MB, free: 6.633 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.139/1.139, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6495/0.6495, allocations: 132.2 MB / 422.2 MB, free: 1.957 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001091/0.001091, allocations: 59.62 kB / 0.5013 GB, free: 9.027 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1247/0.1258, allocations: 80.2 MB / 0.5797 GB, free: 9.047 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.3949/0.5207, allocations: 237 MB / 0.8111 GB, free: 6.07 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009164/0.5299, allocations: 7.154 MB / 0.8181 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008715/0.5308, allocations: 51.62 kB / 0.8181 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001387/0.5322, allocations: 0.6063 MB / 0.8187 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.003599/0.5358, allocations: 1.945 MB / 0.8206 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00352/0.5393, allocations: 1.882 MB / 0.8224 GB, free: 10.43 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00287/0.5422, allocations: 3.272 MB / 0.8256 GB, free: 7.152 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001051/0.5433, allocations: 1.102 MB / 0.8267 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002561/0.5459, allocations: 1.786 MB / 0.8285 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001259/0.5471, allocations: 1.019 MB / 0.8295 GB, free: 3.215 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001325/0.5473, allocations: 120 kB / 0.8296 GB, free: 3.098 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.5506, allocations: 2.591 MB / 0.8321 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.000331/0.5509, allocations: 462.7 kB / 0.8325 GB, free: 48 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0006708/0.5516, allocations: 0.7233 MB / 0.8332 GB, free: 15.32 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004409/0.556, allocations: 2.832 MB / 0.836 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.556, allocations: 0 / 0.836 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.835e-06/0.556, allocations: 3.984 kB / 0.836 GB, free: 12.48 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.194e-05/0.5561, allocations: 0 / 0.836 GB, free: 12.48 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: 197 * Number of variables: 197 Notification: Performance of Generate backend data structure: time 0.002346/0.5584, allocations: 1.716 MB / 0.8377 GB, free: 10.71 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.5585, allocations: 12.03 kB / 0.8377 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001348/0.5586, allocations: 123.4 kB / 0.8378 GB, free: 10.57 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0024/0.561, allocations: 418 kB / 0.8382 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001257/0.5623, allocations: 0.9715 MB / 0.8392 GB, free: 9.145 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.051e-05/0.5623, allocations: 62 kB / 0.8392 GB, free: 9.082 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001147/0.5624, allocations: 84.88 kB / 0.8393 GB, free: 9 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001319/0.5638, allocations: 0.8624 MB / 0.8402 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.5638, allocations: 0 / 0.8402 GB, free: 8.129 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.212e-05/0.5639, allocations: 32 kB / 0.8402 GB, free: 8.098 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.065e-05/0.5639, allocations: 37.92 kB / 0.8402 GB, free: 8.062 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001267/0.5652, allocations: 0.8003 MB / 0.841 GB, free: 7.262 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.003735/0.5689, allocations: 3.627 MB / 0.8445 GB, free: 3.348 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001256/0.5702, allocations: 1.1 MB / 0.8456 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005168/0.5707, allocations: 366.9 kB / 0.846 GB, free: 1.77 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000611/0.5714, allocations: 412.9 kB / 0.8464 GB, free: 1.293 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.365e-05/0.5714, allocations: 36.38 kB / 0.8464 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=60): time 2.975e-06/0.5714, allocations: 4 kB / 0.8464 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of matching and sorting (n=60): time 0.001759/0.5732, allocations: 0.9507 MB / 0.8473 GB, free: 300 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.5732, allocations: 59.97 kB / 0.8474 GB, free: 228 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008539/0.5741, allocations: 0.8439 MB / 0.8482 GB, free: 15.36 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.5741, allocations: 41.7 kB / 0.8482 GB, free: 15.31 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002834/0.5744, allocations: 480 kB / 0.8487 GB, free: 14.83 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001453/0.5746, allocations: 212.9 kB / 0.8489 GB, free: 14.62 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00016/0.5747, allocations: 114.2 kB / 0.849 GB, free: 14.5 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 8.942e-05/0.5748, allocations: 330 kB / 0.8493 GB, free: 14.18 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004264/0.5753, allocations: 255 kB / 0.8496 GB, free: 13.92 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005112/0.5758, allocations: 376.2 kB / 0.8499 GB, free: 13.52 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008915/0.5767, allocations: 0.5891 MB / 0.8505 GB, free: 12.92 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.5767, allocations: 4 kB / 0.8505 GB, free: 12.91 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001124/0.5778, allocations: 0.732 MB / 0.8512 GB, free: 12.17 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.5778, allocations: 9.719 kB / 0.8512 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.5779, allocations: 0 / 0.8512 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.5779, allocations: 4 kB / 0.8512 GB, free: 12.16 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.5784, allocations: 127.9 kB / 0.8514 GB, free: 12.04 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.997e-06/0.5784, allocations: 4 kB / 0.8514 GB, free: 12.03 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007769/0.5792, allocations: 115.4 kB / 0.8515 GB, free: 11.92 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.5792, allocations: 27.98 kB / 0.8515 GB, free: 11.89 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006649/0.5799, allocations: 0.4893 MB / 0.852 GB, free: 11.4 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004915/0.5804, allocations: 366.2 kB / 0.8523 GB, free: 11.01 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008643/0.5813, allocations: 0.5774 MB / 0.8529 GB, free: 10.42 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.483e-06/0.5813, allocations: 4 kB / 0.8529 GB, free: 10.42 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001076/0.5824, allocations: 0.7241 MB / 0.8536 GB, free: 9.684 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.744e-06/0.5824, allocations: 4 kB / 0.8536 GB, free: 9.68 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5824, allocations: 4 kB / 0.8536 GB, free: 9.676 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.322e-06/0.5824, allocations: 4 kB / 0.8536 GB, free: 9.672 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004939/0.5829, allocations: 127.9 kB / 0.8537 GB, free: 9.547 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.5829, allocations: 7.984 kB / 0.8537 GB, free: 9.539 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007324/0.5837, allocations: 107.5 kB / 0.8539 GB, free: 9.434 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.946e-05/0.5837, allocations: 20 kB / 0.8539 GB, free: 9.414 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.0001498/0.5839, allocations: 224.1 kB / 0.8541 GB, free: 9.188 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.584, allocations: 102.7 kB / 0.8542 GB, free: 9.086 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001232/0.5853, allocations: 0.7392 MB / 0.8549 GB, free: 8.34 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/0.5853, allocations: 4 kB / 0.8549 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.5853, allocations: 0 / 0.8549 GB, free: 8.336 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001005/0.5863, allocations: 0.9073 MB / 0.8558 GB, free: 7.344 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002821/0.5891, allocations: 2.243 MB / 0.858 GB, free: 4.961 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.55e-06/0.5891, allocations: 4.859 kB / 0.858 GB, free: 4.957 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000608/0.5898, allocations: 139.8 kB / 0.8581 GB, free: 4.82 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.46e-06/0.5898, allocations: 4 kB / 0.8581 GB, free: 4.816 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.5898, allocations: 16.41 kB / 0.8581 GB, free: 4.801 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/0.5898, allocations: 12 kB / 0.8582 GB, free: 4.789 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.5898, allocations: 7.938 kB / 0.8582 GB, free: 4.781 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001631/0.5915, allocations: 1.262 MB / 0.8594 GB, free: 3.461 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002997/0.5918, allocations: 255.7 kB / 0.8596 GB, free: 3.191 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001142/0.5919, allocations: 19.98 kB / 0.8597 GB, free: 3.172 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007314/0.5926, allocations: 91.84 kB / 0.8597 GB, free: 3.082 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001039/0.5927, allocations: 56.25 kB / 0.8598 GB, free: 3.027 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.287e-05/0.5928, allocations: 20 kB / 0.8598 GB, free: 3.008 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0006274/0.5934, allocations: 0.5823 MB / 0.8604 GB, free: 2.414 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5934, allocations: 8 kB / 0.8604 GB, free: 2.406 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001004/0.5944, allocations: 0.5299 MB / 0.8609 GB, free: 1.875 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.U,spl.vol.dynBal.m,spl.vol.dynBal.mXi[1],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.1919/0.7864, allocations: 1.935 MB / 0.8628 GB, free: 227.7 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001768/0.7882, allocations: 1.006 MB / 0.8638 GB, free: 227.7 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.589e-06/0.7882, allocations: 0.5938 kB / 0.8638 GB, free: 227.7 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004488/0.7886, allocations: 344.9 kB / 0.8641 GB, free: 227.7 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002324/0.791, allocations: 0.6058 MB / 0.8647 GB, free: 227.6 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00883/0.7998, allocations: 8.343 MB / 0.8729 GB, free: 223.2 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003933/0.8002, allocations: 1.122 MB / 0.8739 GB, free: 222.5 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0009283/0.8011, allocations: 298.3 kB / 0.8742 GB, free: 222.4 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000394/0.8015, allocations: 410.1 kB / 0.8746 GB, free: 222.1 MB / 0.67 GB Notification: Performance of SimCode: time 8.72e-07/0.8016, allocations: 0 / 0.8746 GB, free: 222.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.416/2.218, allocations: 28.87 MB / 0.9028 GB, free: 218.5 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000161/2.218, allocations: 238.7 kB / 0.903 GB, free: 218.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.212/4.43, allocations: 0 / 0.903 GB, free: 218.2 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)