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: translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") translateModel(IDEAS.Fluid.FixedResistances.Examples.FlowJunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001471/0.001471, allocations: 108.7 kB / 16.41 MB, free: 5.914 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.001444/0.001444, allocations: 187.7 kB / 17.34 MB, free: 5.543 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.409/1.409, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8431/0.8431, allocations: 135.1 MB / 426.3 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001259/0.001259, allocations: 71.66 kB / 0.5863 GB, free: 21.42 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1524/0.1536, allocations: 80.91 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Examples.FlowJunction): time 0.6455/0.7991, allocations: 239.9 MB / 0.8995 GB, free: 15.14 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01243/0.8116, allocations: 7.189 MB / 0.9065 GB, free: 7.945 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001626/0.8133, allocations: 51.69 kB / 0.9066 GB, free: 7.895 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001928/0.8152, allocations: 0.7261 MB / 0.9073 GB, free: 7.164 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00603/0.8213, allocations: 2.17 MB / 0.9094 GB, free: 4.988 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.8266, allocations: 2.051 MB / 0.9114 GB, free: 2.945 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.004361/0.831, allocations: 3.277 MB / 0.9146 GB, free: 15.66 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001639/0.8326, allocations: 1.141 MB / 0.9157 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004056/0.8367, allocations: 1.857 MB / 0.9176 GB, free: 12.63 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00159/0.8383, allocations: 0.9687 MB / 0.9185 GB, free: 11.66 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001828/0.8385, allocations: 120 kB / 0.9186 GB, free: 11.55 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00437/0.8429, allocations: 2.498 MB / 0.9211 GB, free: 9.043 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000458/0.8433, allocations: 458.7 kB / 0.9215 GB, free: 8.594 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007439/0.8441, allocations: 0.7194 MB / 0.9222 GB, free: 7.871 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004056/0.8481, allocations: 2.698 MB / 0.9248 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.8482, allocations: 0 / 0.9248 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.497e-06/0.8482, allocations: 0 / 0.9248 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.668e-05/0.8482, allocations: 3.938 kB / 0.9248 GB, free: 5.16 MB / 0.6856 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.00266/0.8509, allocations: 1.757 MB / 0.9266 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.8509, allocations: 13.11 kB / 0.9266 GB, free: 3.336 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002579/0.8535, allocations: 427.6 kB / 0.927 GB, free: 2.918 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001641/0.8552, allocations: 1.043 MB / 0.928 GB, free: 1.832 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.8552, allocations: 66 kB / 0.9281 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001257/0.8554, allocations: 80 kB / 0.9281 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001447/0.8568, allocations: 0.8624 MB / 0.929 GB, free: 0.8164 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.8569, allocations: 3.938 kB / 0.929 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.683e-05/0.8569, allocations: 28 kB / 0.929 GB, free: 0.7852 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.297e-05/0.857, allocations: 33.98 kB / 0.929 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/0.8584, allocations: 0.8042 MB / 0.9298 GB, free: 15.95 MB / 0.7012 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.004382/0.8628, allocations: 3.644 MB / 0.9334 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001453/0.8643, allocations: 1.09 MB / 0.9344 GB, free: 10.81 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005759/0.8648, allocations: 382.3 kB / 0.9348 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006992/0.8656, allocations: 408.9 kB / 0.9352 GB, free: 9.961 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.8656, allocations: 35.12 kB / 0.9352 GB, free: 9.918 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=60): time 3.937e-06/0.8656, allocations: 4 kB / 0.9352 GB, free: 9.914 MB / 0.7012 GB Notification: Performance of matching and sorting (n=60): time 0.002017/0.8676, allocations: 0.9629 MB / 0.9362 GB, free: 8.945 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.8677, allocations: 59.97 kB / 0.9362 GB, free: 8.875 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00099/0.8687, allocations: 0.84 MB / 0.9371 GB, free: 8.012 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.789e-05/0.8687, allocations: 41.7 kB / 0.9371 GB, free: 7.965 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003471/0.8691, allocations: 476.8 kB / 0.9375 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001898/0.8693, allocations: 230 kB / 0.9378 GB, free: 7.266 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001943/0.8695, allocations: 110.2 kB / 0.9379 GB, free: 7.148 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001599/0.8697, allocations: 333.9 kB / 0.9382 GB, free: 6.816 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000479/0.8701, allocations: 256.1 kB / 0.9384 GB, free: 6.566 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006009/0.8708, allocations: 372.3 kB / 0.9388 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/0.8718, allocations: 0.5852 MB / 0.9394 GB, free: 5.566 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.276e-05/0.8718, allocations: 3.938 kB / 0.9394 GB, free: 5.562 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001247/0.8731, allocations: 0.7404 MB / 0.9401 GB, free: 4.812 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.8731, allocations: 8 kB / 0.9401 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.8731, allocations: 0 / 0.9401 GB, free: 4.805 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.8731, allocations: 4 kB / 0.9401 GB, free: 4.801 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.8737, allocations: 127.9 kB / 0.9402 GB, free: 4.676 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.892e-05/0.8737, allocations: 5.25 kB / 0.9402 GB, free: 4.672 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007329/0.8744, allocations: 74.75 kB / 0.9403 GB, free: 4.602 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.024e-05/0.8745, allocations: 20 kB / 0.9403 GB, free: 4.582 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007739/0.8753, allocations: 0.4893 MB / 0.9408 GB, free: 4.09 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000558/0.8758, allocations: 368.3 kB / 0.9411 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009469/0.8768, allocations: 0.5735 MB / 0.9417 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.328e-06/0.8768, allocations: 4 kB / 0.9417 GB, free: 3.102 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.001237/0.8781, allocations: 0.7286 MB / 0.9424 GB, free: 2.363 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/0.8781, allocations: 7.938 kB / 0.9424 GB, free: 2.355 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.8781, allocations: 4 kB / 0.9424 GB, free: 2.352 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.07e-06/0.8781, allocations: 4 kB / 0.9424 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000536/0.8786, allocations: 123.8 kB / 0.9426 GB, free: 2.227 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.8787, allocations: 8 kB / 0.9426 GB, free: 2.219 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007022/0.8794, allocations: 75.8 kB / 0.9426 GB, free: 2.145 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.353e-05/0.8794, allocations: 27.92 kB / 0.9427 GB, free: 2.117 MB / 0.7012 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.0001828/0.8796, allocations: 220 kB / 0.9429 GB, free: 1.895 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000145/0.8798, allocations: 103.3 kB / 0.943 GB, free: 1.793 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001344/0.8811, allocations: 0.7408 MB / 0.9437 GB, free: 1.051 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001146/0.8823, allocations: 0.9033 MB / 0.9446 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.8823, allocations: 0 / 0.9446 GB, free: 64 kB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003758/0.8827, allocations: 260.2 kB / 0.9448 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001195/0.8828, allocations: 12 kB / 0.9448 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.8834, allocations: 42.2 kB / 0.9449 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.923e-05/0.8835, allocations: 44.44 kB / 0.9449 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001639/0.8852, allocations: 0.7954 MB / 0.9457 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00182/0.887, allocations: 1.256 MB / 0.9469 GB, free: 13.62 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005167/0.8875, allocations: 320.4 kB / 0.9472 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007678/0.8883, allocations: 0.5823 MB / 0.9478 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of Backend: time 4.71e-07/0.8883, allocations: 0 / 0.9478 GB, free: 12.71 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003074/0.8914, allocations: 1.282 MB / 0.949 GB, free: 11.43 MB / 0.7169 GB Notification: Performance of SimCode: time 0.004443/0.8959, allocations: 2.842 MB / 0.9518 GB, free: 8.535 MB / 0.7169 GB Notification: Performance of Templates: time 0.0466/0.9425, allocations: 27.67 MB / 0.9788 GB, free: 13.11 MB / 0.7481 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.FixedResistances.Examples.FlowJunction.pipe 2>&1)