Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,fileNamePrefix="IDEAS_dev_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.001209/0.001209, allocations: 107.3 kB / 15.33 MB, free: 0.5078 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.001205/0.001205, allocations: 190.3 kB / 16.25 MB, free: 6.152 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.173/1.173, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8103/0.8103, allocations: 135.1 MB / 425.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 69.33 kB / 0.505 GB, free: 5.551 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1231/0.1243, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.4013/0.5256, allocations: 236.9 MB / 0.8154 GB, free: 120 kB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009532/0.5352, allocations: 7.156 MB / 0.8224 GB, free: 8.953 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001155/0.5363, allocations: 47.69 kB / 0.8224 GB, free: 8.906 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.5379, allocations: 0.6102 MB / 0.823 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004088/0.542, allocations: 1.945 MB / 0.8249 GB, free: 6.344 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003822/0.5458, allocations: 1.884 MB / 0.8267 GB, free: 4.473 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.003357/0.5492, allocations: 3.269 MB / 0.8299 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001375/0.5506, allocations: 1.108 MB / 0.831 GB, free: 72 kB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003315/0.5539, allocations: 1.79 MB / 0.8328 GB, free: 14.27 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001738/0.5557, allocations: 1.02 MB / 0.8338 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003009/0.556, allocations: 120 kB / 0.8339 GB, free: 13.14 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003928/0.5599, allocations: 2.587 MB / 0.8364 GB, free: 10.55 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0005218/0.5605, allocations: 466.7 kB / 0.8369 GB, free: 10.09 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0009207/0.5614, allocations: 0.7233 MB / 0.8376 GB, free: 9.363 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.003628/0.565, allocations: 2.836 MB / 0.8403 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.565, allocations: 0 / 0.8403 GB, free: 6.52 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.253e-06/0.565, allocations: 4 kB / 0.8403 GB, free: 6.516 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.04e-05/0.5651, allocations: 0 / 0.8403 GB, free: 6.516 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.002709/0.5678, allocations: 1.716 MB / 0.842 GB, free: 4.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.5678, allocations: 12.03 kB / 0.842 GB, free: 4.738 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001478/0.568, allocations: 122.8 kB / 0.8421 GB, free: 4.609 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002464/0.5705, allocations: 422 kB / 0.8425 GB, free: 4.195 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001388/0.5719, allocations: 0.9716 MB / 0.8435 GB, free: 3.18 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.5e-05/0.5719, allocations: 62 kB / 0.8435 GB, free: 3.117 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.572, allocations: 80 kB / 0.8436 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.5735, allocations: 0.8662 MB / 0.8445 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.5735, allocations: 0 / 0.8445 GB, free: 2.164 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.158e-05/0.5736, allocations: 32 kB / 0.8445 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.192e-05/0.5736, allocations: 33.98 kB / 0.8445 GB, free: 2.102 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001332/0.575, allocations: 0.8042 MB / 0.8453 GB, free: 1.297 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.004133/0.5791, allocations: 3.619 MB / 0.8489 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001315/0.5804, allocations: 1.096 MB / 0.8499 GB, free: 12.18 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005427/0.581, allocations: 375.2 kB / 0.8503 GB, free: 11.81 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006149/0.5816, allocations: 404.9 kB / 0.8507 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.816e-05/0.5816, allocations: 43.12 kB / 0.8507 GB, free: 11.29 MB / 0.67 GB Notification: Performance of pre-optimization done (n=60): time 1.663e-06/0.5817, allocations: 0 / 0.8507 GB, free: 11.29 MB / 0.67 GB Notification: Performance of matching and sorting (n=60): time 0.001824/0.5835, allocations: 0.9622 MB / 0.8516 GB, free: 10.32 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.058e-05/0.5835, allocations: 59.97 kB / 0.8517 GB, free: 10.25 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009132/0.5844, allocations: 0.836 MB / 0.8525 GB, free: 9.395 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 5.389e-05/0.5845, allocations: 41.7 kB / 0.8526 GB, free: 9.348 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003069/0.5848, allocations: 476.1 kB / 0.853 GB, free: 8.875 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/0.585, allocations: 216.9 kB / 0.8532 GB, free: 8.66 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001697/0.5852, allocations: 110.2 kB / 0.8533 GB, free: 8.547 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 9.975e-05/0.5853, allocations: 330 kB / 0.8536 GB, free: 8.219 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004382/0.5857, allocations: 259 kB / 0.8539 GB, free: 7.961 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005287/0.5862, allocations: 378.4 kB / 0.8543 GB, free: 7.555 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009272/0.5872, allocations: 0.5891 MB / 0.8548 GB, free: 6.953 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5872, allocations: 0 / 0.8548 GB, free: 6.953 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001161/0.5884, allocations: 0.732 MB / 0.8555 GB, free: 6.211 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.5884, allocations: 8 kB / 0.8555 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.25e-06/0.5884, allocations: 0 / 0.8555 GB, free: 6.203 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.39e-05/0.5884, allocations: 8.125 kB / 0.8556 GB, free: 6.195 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.5889, allocations: 119.9 kB / 0.8557 GB, free: 6.078 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.188e-06/0.589, allocations: 7.938 kB / 0.8557 GB, free: 6.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007535/0.5897, allocations: 115.4 kB / 0.8558 GB, free: 5.957 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.662e-05/0.5898, allocations: 24 kB / 0.8558 GB, free: 5.934 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006728/0.5905, allocations: 0.4908 MB / 0.8563 GB, free: 5.441 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005023/0.591, allocations: 372.2 kB / 0.8566 GB, free: 5.043 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008905/0.5919, allocations: 0.5735 MB / 0.8572 GB, free: 4.453 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.846e-06/0.5919, allocations: 4 kB / 0.8572 GB, free: 4.449 MB / 0.67 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001122/0.593, allocations: 0.7202 MB / 0.8579 GB, free: 3.723 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.664e-06/0.593, allocations: 4 kB / 0.8579 GB, free: 3.719 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.593, allocations: 7.938 kB / 0.8579 GB, free: 3.711 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.268e-06/0.593, allocations: 8.125 kB / 0.8579 GB, free: 3.703 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004924/0.5935, allocations: 123.8 kB / 0.858 GB, free: 3.582 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.285e-05/0.5936, allocations: 7.984 kB / 0.8581 GB, free: 3.574 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007157/0.5943, allocations: 107.5 kB / 0.8582 GB, free: 3.469 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-05/0.5943, allocations: 28 kB / 0.8582 GB, free: 3.441 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.0001492/0.5945, allocations: 216.1 kB / 0.8584 GB, free: 3.223 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001356/0.5946, allocations: 98.78 kB / 0.8585 GB, free: 3.125 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001245/0.5959, allocations: 0.7439 MB / 0.8592 GB, free: 2.379 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.5959, allocations: 8 kB / 0.8592 GB, free: 2.371 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.5959, allocations: 4 kB / 0.8592 GB, free: 2.367 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00105/0.597, allocations: 0.8994 MB / 0.8601 GB, free: 1.379 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1889/0.7859, allocations: 2.234 MB / 0.8623 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.7859, allocations: 2.812 kB / 0.8623 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.7865, allocations: 144 kB / 0.8624 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.7866, allocations: 5.375 kB / 0.8624 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.991e-05/0.7866, allocations: 14.56 kB / 0.8624 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.692e-06/0.7866, allocations: 12.12 kB / 0.8625 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.7866, allocations: 5.984 kB / 0.8625 GB, free: 223.1 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001474/0.7881, allocations: 1.255 MB / 0.8637 GB, free: 222.9 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003224/0.7884, allocations: 261.5 kB / 0.8639 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00011/0.7885, allocations: 13.22 kB / 0.8639 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007161/0.7893, allocations: 97.27 kB / 0.864 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.363e-05/0.7894, allocations: 51.62 kB / 0.8641 GB, free: 222.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-05/0.7894, allocations: 23.7 kB / 0.8641 GB, free: 222.8 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0005353/0.7899, allocations: 0.5915 MB / 0.8647 GB, free: 222.7 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7899, allocations: 0 / 0.8647 GB, free: 222.7 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009408/0.7909, allocations: 0.5307 MB / 0.8652 GB, free: 222.7 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.00178/0.7927, allocations: 1.934 MB / 0.8671 GB, free: 221.5 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001488/0.7942, allocations: 1.011 MB / 0.8681 GB, free: 221.2 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.7942, allocations: 3.969 kB / 0.8681 GB, free: 221.2 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0004423/0.7946, allocations: 340.6 kB / 0.8684 GB, free: 221.1 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002088/0.7967, allocations: 0.606 MB / 0.869 GB, free: 221 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008613/0.8054, allocations: 8.339 MB / 0.8771 GB, free: 216.3 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.8058, allocations: 1.13 MB / 0.8783 GB, free: 215.6 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0008588/0.8066, allocations: 300.4 kB / 0.8785 GB, free: 215.5 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003903/0.807, allocations: 408.2 kB / 0.8789 GB, free: 215.2 MB / 0.67 GB Notification: Performance of SimCode: time 4.21e-07/0.807, allocations: 0 / 0.8789 GB, free: 215.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.954/1.761, allocations: 28.87 MB / 0.9071 GB, free: 211.2 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001285/1.761, allocations: 238.6 kB / 0.9074 GB, free: 211 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.477/4.238, allocations: 5.344 kB / 0.9074 GB, free: 211 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_FixedResistances_Examples_FlowJunction.fmu > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)