Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState") translateModel(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00949/0.009491, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001895/0.001895, allocations: 192.9 kB / 16.67 MB, free: 5.52 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8104/0.8104, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001185/0.001185, allocations: 63.06 kB / 0.5856 GB, free: 21.83 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1772, allocations: 80.92 MB / 0.6647 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState): time 0.6152/0.7925, allocations: 187.1 MB / 0.8474 GB, free: 15.95 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01864/0.8112, allocations: 13 MB / 0.8601 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002032/0.8133, allocations: 32.62 kB / 0.8601 GB, free: 5.387 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002075/0.8154, allocations: 418.1 kB / 0.8605 GB, free: 5.043 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003639/0.8191, allocations: 0.9574 MB / 0.8614 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002781/0.8219, allocations: 0.7092 MB / 0.8621 GB, free: 3.766 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.8252, allocations: 1.502 MB / 0.8636 GB, free: 2.914 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.8266, allocations: 0.6511 MB / 0.8642 GB, free: 2.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00548/0.8321, allocations: 1.771 MB / 0.866 GB, free: 1.113 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001408/0.8335, allocations: 0.515 MB / 0.8665 GB, free: 0.6094 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001127/0.8337, allocations: 52 kB / 0.8665 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002085/0.8357, allocations: 0.8809 MB / 0.8674 GB, free: 15.68 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004154/0.8362, allocations: 279.2 kB / 0.8676 GB, free: 15.4 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.000583/0.8368, allocations: 386 kB / 0.868 GB, free: 15.02 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002325/0.8391, allocations: 1.176 MB / 0.8692 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8391, allocations: 4 kB / 0.8692 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8391, allocations: 0 / 0.8692 GB, free: 13.84 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 2.394e-05/0.8392, allocations: 0 / 0.8692 GB, free: 13.84 MB / 0.6387 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.002089/0.8413, allocations: 1.055 MB / 0.8702 GB, free: 12.73 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.894e-05/0.8413, allocations: 9.109 kB / 0.8702 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001341/0.8427, allocations: 190.8 kB / 0.8704 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001167/0.8439, allocations: 0.5442 MB / 0.8709 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.584e-05/0.844, allocations: 53.3 kB / 0.871 GB, free: 11.9 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.516e-05/0.8441, allocations: 60 kB / 0.871 GB, free: 11.84 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001651/0.8457, allocations: 0.7672 MB / 0.8718 GB, free: 10.96 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.078e-05/0.8458, allocations: 15.88 kB / 0.8718 GB, free: 10.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.66e-05/0.8459, allocations: 24 kB / 0.8718 GB, free: 10.93 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.67e-05/0.8459, allocations: 21 kB / 0.8718 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00128/0.8472, allocations: 466.5 kB / 0.8723 GB, free: 10.45 MB / 0.6387 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.005351/0.8526, allocations: 4.378 MB / 0.8766 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001879/0.8528, allocations: 106.5 kB / 0.8767 GB, free: 5.707 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001443/0.8529, allocations: 71.44 kB / 0.8767 GB, free: 5.625 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002162/0.8532, allocations: 97.09 kB / 0.8768 GB, free: 5.512 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.287e-05/0.8532, allocations: 38.56 kB / 0.8768 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=10): time 4.969e-06/0.8532, allocations: 0 / 0.8768 GB, free: 5.465 MB / 0.6387 GB Notification: Performance of matching and sorting (n=10): time 0.0009774/0.8542, allocations: 244.6 kB / 0.8771 GB, free: 5.219 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.8543, allocations: 136.8 kB / 0.8772 GB, free: 5.055 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001601/0.8559, allocations: 0.8446 MB / 0.878 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.856, allocations: 25.7 kB / 0.8781 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004241/0.8564, allocations: 406.8 kB / 0.8785 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.006e-05/0.8565, allocations: 35.55 kB / 0.8785 GB, free: 3.727 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001999/0.8567, allocations: 93.88 kB / 0.8786 GB, free: 3.629 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.8569, allocations: 326 kB / 0.8789 GB, free: 3.305 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003817/0.8572, allocations: 108.7 kB / 0.879 GB, free: 3.199 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.8579, allocations: 365.7 kB / 0.8793 GB, free: 2.727 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007472/0.8587, allocations: 441.5 kB / 0.8798 GB, free: 2.188 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.178e-05/0.8587, allocations: 7.938 kB / 0.8798 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001325/0.86, allocations: 0.4922 MB / 0.8802 GB, free: 1.684 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.8601, allocations: 8.844 kB / 0.8803 GB, free: 1.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/0.8601, allocations: 8 kB / 0.8803 GB, free: 1.668 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.09e-05/0.8601, allocations: 16.41 kB / 0.8803 GB, free: 1.652 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004723/0.8606, allocations: 95.83 kB / 0.8804 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.681e-05/0.8606, allocations: 19.92 kB / 0.8804 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009564/0.8616, allocations: 115 kB / 0.8805 GB, free: 1.426 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/0.8617, allocations: 24 kB / 0.8805 GB, free: 1.402 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.0003673/0.8621, allocations: 229.6 kB / 0.8807 GB, free: 1.168 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.8623, allocations: 75.06 kB / 0.8808 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001546/0.8625, allocations: 78.16 kB / 0.8809 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.8625, allocations: 0 / 0.8809 GB, free: 1.016 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/0.8625, allocations: 4 kB / 0.8809 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.8625, allocations: 3.938 kB / 0.8809 GB, free: 1.008 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/0.8643, allocations: 1.124 MB / 0.882 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8643, allocations: 0 / 0.882 GB, free: 15.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000109/0.8644, allocations: 19.94 kB / 0.882 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.08e-05/0.8644, allocations: 7.984 kB / 0.882 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.8644, allocations: 4 kB / 0.882 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.8645, allocations: 4 kB / 0.882 GB, free: 15.76 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.8645, allocations: 4 kB / 0.882 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004623/0.8649, allocations: 260.1 kB / 0.8823 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000255/0.8652, allocations: 168.1 kB / 0.8824 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001327/0.8653, allocations: 11.98 kB / 0.8824 GB, free: 15.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004386/0.8658, allocations: 19.92 kB / 0.8825 GB, free: 15.24 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.524e-05/0.8658, allocations: 15.88 kB / 0.8825 GB, free: 15.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.255e-05/0.8659, allocations: 11.98 kB / 0.8825 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001002/0.8669, allocations: 0.5849 MB / 0.8831 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8669, allocations: 0 / 0.8831 GB, free: 14.63 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0006112/0.8675, allocations: 151.8 kB / 0.8832 GB, free: 14.48 MB / 0.6544 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.0005406/0.868, allocations: 199 kB / 0.8834 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005226/0.8686, allocations: 241.2 kB / 0.8836 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8686, allocations: 0 / 0.8836 GB, free: 14.07 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 6.973e-05/0.8687, allocations: 51.84 kB / 0.8837 GB, free: 14.02 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001555/0.8702, allocations: 374 kB / 0.884 GB, free: 13.66 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001494/0.8717, allocations: 1.062 MB / 0.8851 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005065/0.8723, allocations: 0.937 MB / 0.886 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0004185/0.8727, allocations: 154.1 kB / 0.8861 GB, free: 11.42 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.122e-05/0.8728, allocations: 47.38 kB / 0.8862 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.8728, allocations: 4 kB / 0.8862 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of Templates: time 0.02099/0.8938, allocations: 11.8 MB / 0.8977 GB, free: 15.73 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)