Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001555/0.001556, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7642/0.7642, allocations: 133.6 MB / 141.6 MB, free: 2.91 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009289/0.0009287, allocations: 95.62 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.402e-05/2.41e-05, allocations: 4 kB / 0.5535 GB, free: 8.977 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5081/0.5081, allocations: 82.3 MB / 0.6339 GB, free: 40.83 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.153/5.661, allocations: 1.893 GB / 2.527 GB, free: 145.1 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/5.661, allocations: 83.95 kB / 2.527 GB, free: 145 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.136/7.797, allocations: 0.5891 GB / 3.116 GB, free: 76.15 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.873e-06/7.797, allocations: 0 / 3.116 GB, free: 76.15 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001269/7.797, allocations: 31.28 kB / 3.116 GB, free: 76.12 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.003209/7.8, allocations: 1.13 MB / 3.117 GB, free: 74.96 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/7.8, allocations: 12.03 kB / 3.117 GB, free: 74.95 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00155/7.802, allocations: 206.7 kB / 3.117 GB, free: 74.75 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/7.803, allocations: 0.6658 MB / 3.118 GB, free: 74.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.815e-05/7.803, allocations: 27.95 kB / 3.118 GB, free: 74.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001803/7.804, allocations: 48 kB / 3.118 GB, free: 73.97 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001014/7.805, allocations: 0.4998 MB / 3.118 GB, free: 73.47 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0012/7.806, allocations: 0.7892 MB / 3.119 GB, free: 72.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.84e-05/7.806, allocations: 11.92 kB / 3.119 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.656e-05/7.806, allocations: 0 / 3.119 GB, free: 72.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.679e-05/7.806, allocations: 29.31 kB / 3.119 GB, free: 72.56 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.00415/7.81, allocations: 4.387 MB / 3.123 GB, free: 67.93 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/7.811, allocations: 410.4 kB / 3.124 GB, free: 67.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002577/7.811, allocations: 217.3 kB / 3.124 GB, free: 67.28 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001949/7.811, allocations: 100.8 kB / 3.124 GB, free: 67.17 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.801e-05/7.811, allocations: 42.5 kB / 3.124 GB, free: 67.12 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/7.811, allocations: 4 kB / 3.124 GB, free: 67.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.002487/7.814, allocations: 1.306 MB / 3.125 GB, free: 65.75 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.752e-05/7.814, allocations: 114.8 kB / 3.126 GB, free: 65.61 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004578/7.814, allocations: 430.4 kB / 3.126 GB, free: 65.19 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.509e-05/7.814, allocations: 29.77 kB / 3.126 GB, free: 65.15 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001952/7.815, allocations: 435 kB / 3.126 GB, free: 64.72 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 9.303e-05/7.815, allocations: 153.7 kB / 3.127 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.223e-05/7.815, allocations: 0 / 3.127 GB, free: 64.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.773e-05/7.815, allocations: 374.7 kB / 3.127 GB, free: 64.19 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/7.815, allocations: 169.5 kB / 3.127 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003185/7.815, allocations: 391.3 kB / 3.127 GB, free: 63.54 MB / 0.6823 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/7.817, allocations: 0.6467 MB / 3.128 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.775e-06/7.817, allocations: 2.625 kB / 3.128 GB, free: 62.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.000723/7.817, allocations: 0.5704 MB / 3.129 GB, free: 62.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/7.818, allocations: 8 kB / 3.129 GB, free: 62.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.648e-06/7.818, allocations: 4 kB / 3.129 GB, free: 62.29 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/7.818, allocations: 12 kB / 3.129 GB, free: 62.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000462/7.818, allocations: 135.8 kB / 3.129 GB, free: 62.14 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/7.818, allocations: 11.94 kB / 3.129 GB, free: 62.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005689/7.819, allocations: 40.09 kB / 3.129 GB, free: 62.09 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.385e-05/7.819, allocations: 28 kB / 3.129 GB, free: 62.06 MB / 0.6823 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001168/7.819, allocations: 124.8 kB / 3.129 GB, free: 61.93 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005364/7.819, allocations: 417.7 kB / 3.129 GB, free: 61.52 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001065/7.819, allocations: 67.31 kB / 3.129 GB, free: 61.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001479/7.82, allocations: 70.34 kB / 3.129 GB, free: 61.38 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.608e-06/7.82, allocations: 4 kB / 3.129 GB, free: 61.38 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/7.82, allocations: 4 kB / 3.129 GB, free: 61.38 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004715/7.82, allocations: 0.66 MB / 3.13 GB, free: 60.63 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001827/7.822, allocations: 1.47 MB / 3.132 GB, free: 59.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.711e-06/7.822, allocations: 7.984 kB / 3.132 GB, free: 59.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004124/7.822, allocations: 91.89 kB / 3.132 GB, free: 58.98 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.624e-06/7.822, allocations: 8 kB / 3.132 GB, free: 58.97 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.113e-05/7.822, allocations: 12 kB / 3.132 GB, free: 58.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.394e-06/7.822, allocations: 11.94 kB / 3.132 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/7.822, allocations: 7.5 kB / 3.132 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008537/7.823, allocations: 1.001 MB / 3.133 GB, free: 57.79 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001996/7.824, allocations: 184.4 kB / 3.133 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.286e-05/7.824, allocations: 4 kB / 3.133 GB, free: 57.59 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004347/7.824, allocations: 35.86 kB / 3.133 GB, free: 57.55 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.66e-05/7.824, allocations: 39.89 kB / 3.133 GB, free: 57.51 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.891e-05/7.824, allocations: 20 kB / 3.133 GB, free: 57.49 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003022/7.824, allocations: 322.9 kB / 3.133 GB, free: 57.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.51e-07/7.824, allocations: 0 / 3.133 GB, free: 57.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001088/7.826, allocations: 303.5 kB / 3.134 GB, free: 56.89 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 5 (vol.dynBal.U,vol.dynBal.mXi[1],vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003479/7.829, allocations: 4.335 MB / 3.138 GB, free: 52.53 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0007469/7.83, allocations: 417.1 kB / 3.138 GB, free: 52.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/7.83, allocations: 0 / 3.138 GB, free: 52.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002071/7.83, allocations: 203.6 kB / 3.138 GB, free: 51.92 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001498/7.832, allocations: 287 kB / 3.139 GB, free: 51.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/7.834, allocations: 1.451 MB / 3.14 GB, free: 50.1 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004516/7.835, allocations: 1.047 MB / 3.141 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0005799/7.835, allocations: 165.2 kB / 3.141 GB, free: 48.86 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003124/7.836, allocations: 290.6 kB / 3.142 GB, free: 48.58 MB / 0.6823 GB Notification: Performance of SimCode: time 8.62e-07/7.836, allocations: 0 / 3.142 GB, free: 48.58 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0509/7.886, allocations: 29.19 MB / 3.17 GB, free: 19.54 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000162/7.887, allocations: 197.5 kB / 3.17 GB, free: 19.34 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.037/10.92, allocations: 0 / 3.17 GB, free: 19.34 MB / 0.6823 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-08 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)