Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006165/0.006165, allocations: 99.78 kB / 15.73 MB, free: 6.004 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.001181/0.001181, allocations: 190.3 kB / 16.67 MB, free: 5.922 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7701/0.7701, allocations: 132.2 MB / 422.7 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 58.72 kB / 0.5814 GB, free: 23.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1466, allocations: 80.2 MB / 0.6597 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.5917/0.7384, allocations: 187.1 MB / 0.8424 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01405/0.7525, allocations: 13.01 MB / 0.8551 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001321/0.7539, allocations: 31.44 kB / 0.8551 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001407/0.7553, allocations: 420.8 kB / 0.8555 GB, free: 10.81 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002191/0.7575, allocations: 0.9189 MB / 0.8564 GB, free: 10.09 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.7593, allocations: 0.7163 MB / 0.8571 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001649/0.761, allocations: 1.492 MB / 0.8586 GB, free: 8.707 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007993/0.7618, allocations: 0.6468 MB / 0.8592 GB, free: 8.316 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003508/0.7653, allocations: 1.713 MB / 0.8609 GB, free: 7.184 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001095/0.7664, allocations: 0.5081 MB / 0.8614 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.425e-05/0.7665, allocations: 52.94 kB / 0.8614 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.7681, allocations: 0.8791 MB / 0.8623 GB, free: 6.406 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002572/0.7683, allocations: 281 kB / 0.8626 GB, free: 6.141 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0003558/0.7687, allocations: 390 kB / 0.8629 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.00145/0.7702, allocations: 1.183 MB / 0.8641 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7702, allocations: 0 / 0.8641 GB, free: 4.57 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.683e-06/0.7702, allocations: 3.938 kB / 0.8641 GB, free: 4.566 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.7702, allocations: 0 / 0.8641 GB, free: 4.566 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001308/0.7715, allocations: 1.081 MB / 0.8651 GB, free: 3.43 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.7716, allocations: 12.03 kB / 0.8652 GB, free: 3.418 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008474/0.7724, allocations: 187.3 kB / 0.8653 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007669/0.7732, allocations: 0.5524 MB / 0.8659 GB, free: 2.641 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.227e-05/0.7732, allocations: 45.31 kB / 0.8659 GB, free: 2.598 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.7733, allocations: 59.94 kB / 0.866 GB, free: 2.539 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001037/0.7744, allocations: 0.775 MB / 0.8667 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.913e-05/0.7744, allocations: 7.938 kB / 0.8667 GB, free: 1.648 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.906e-05/0.7745, allocations: 28 kB / 0.8668 GB, free: 1.621 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.7745, allocations: 21 kB / 0.8668 GB, free: 1.602 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008019/0.7753, allocations: 467.2 kB / 0.8672 GB, free: 1.145 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.003332/0.7786, allocations: 4.387 MB / 0.8715 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.7788, allocations: 106.4 kB / 0.8716 GB, free: 12.39 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.367e-05/0.7789, allocations: 71.5 kB / 0.8717 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001525/0.779, allocations: 93.09 kB / 0.8718 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.7791, allocations: 38.56 kB / 0.8718 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.7791, allocations: 4 kB / 0.8718 GB, free: 12.14 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0005971/0.7797, allocations: 245 kB / 0.872 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.748e-05/0.7798, allocations: 136.5 kB / 0.8722 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009878/0.7808, allocations: 0.845 MB / 0.873 GB, free: 10.88 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 2.144e-05/0.7808, allocations: 25.7 kB / 0.873 GB, free: 10.84 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002728/0.7811, allocations: 411.7 kB / 0.8734 GB, free: 10.44 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.998e-05/0.7811, allocations: 39.66 kB / 0.8735 GB, free: 10.4 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.7812, allocations: 101.9 kB / 0.8736 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.7813, allocations: 318 kB / 0.8739 GB, free: 9.977 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.7816, allocations: 116.7 kB / 0.874 GB, free: 9.863 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003965/0.782, allocations: 357.7 kB / 0.8743 GB, free: 9.398 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005197/0.7825, allocations: 441.9 kB / 0.8747 GB, free: 8.859 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.08e-06/0.7825, allocations: 4 kB / 0.8747 GB, free: 8.855 MB / 0.6387 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0008236/0.7834, allocations: 0.5085 MB / 0.8752 GB, free: 8.34 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.7834, allocations: 8 kB / 0.8752 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.7834, allocations: 8 kB / 0.8752 GB, free: 8.324 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.014e-05/0.7834, allocations: 8 kB / 0.8753 GB, free: 8.316 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002869/0.7837, allocations: 92.3 kB / 0.8753 GB, free: 8.227 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.033e-05/0.7838, allocations: 19.94 kB / 0.8754 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005677/0.7843, allocations: 122.3 kB / 0.8755 GB, free: 8.09 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/0.7844, allocations: 24 kB / 0.8755 GB, free: 8.066 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (46): * Single equations (assignments): 46 * 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.0002181/0.7846, allocations: 234.4 kB / 0.8757 GB, free: 7.828 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.7847, allocations: 83.47 kB / 0.8758 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.814e-05/0.7848, allocations: 70.19 kB / 0.8759 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.7849, allocations: 0 / 0.8759 GB, free: 7.672 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-06/0.7849, allocations: 7.984 kB / 0.8759 GB, free: 7.664 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.7849, allocations: 3.938 kB / 0.8759 GB, free: 7.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001122/0.786, allocations: 1.113 MB / 0.877 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.786, allocations: 0 / 0.877 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.339e-05/0.7861, allocations: 20.25 kB / 0.877 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.307e-05/0.7861, allocations: 8 kB / 0.877 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.7861, allocations: 4 kB / 0.877 GB, free: 6.426 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.7862, allocations: 3.984 kB / 0.877 GB, free: 6.422 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.7862, allocations: 4 kB / 0.877 GB, free: 6.418 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002582/0.7864, allocations: 268.2 kB / 0.8773 GB, free: 6.109 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.7866, allocations: 176.5 kB / 0.8774 GB, free: 5.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.396e-05/0.7867, allocations: 8 kB / 0.8774 GB, free: 5.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002993/0.787, allocations: 23.97 kB / 0.8775 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.696e-05/0.787, allocations: 7.938 kB / 0.8775 GB, free: 5.879 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.939e-06/0.787, allocations: 12 kB / 0.8775 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007056/0.7878, allocations: 0.5849 MB / 0.8781 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7878, allocations: 96 / 0.8781 GB, free: 5.289 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005055/0.7883, allocations: 159.8 kB / 0.8782 GB, free: 5.133 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (10): * Single equations (assignments): 10 * 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.0004264/0.7887, allocations: 200.3 kB / 0.8784 GB, free: 4.953 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0004686/0.7892, allocations: 245.2 kB / 0.8786 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.7892, allocations: 320 / 0.8786 GB, free: 4.715 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 6.417e-05/0.7893, allocations: 55.84 kB / 0.8787 GB, free: 4.66 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/0.7907, allocations: 374.4 kB / 0.879 GB, free: 4.309 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001388/0.7921, allocations: 1.072 MB / 0.8801 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004206/0.7925, allocations: 0.9369 MB / 0.881 GB, free: 2.211 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003737/0.7929, allocations: 146.1 kB / 0.8811 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.982e-05/0.793, allocations: 51.42 kB / 0.8812 GB, free: 2.016 MB / 0.6387 GB Notification: Performance of SimCode: time 4.1e-07/0.793, allocations: 3.938 kB / 0.8812 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of Templates: time 0.02094/0.814, allocations: 11.82 MB / 0.8927 GB, free: 6.391 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)