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.001071/0.001071, allocations: 174.6 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7555/0.7555, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.578/1.578, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008813/0.0008814, allocations: 89.83 kB / 483.3 MB, free: 5.84 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.528e-05/4.53e-05, allocations: 10.11 kB / 0.5601 GB, free: 87.88 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.169, allocations: 82.3 MB / 0.6405 GB, free: 7.742 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.197/5.366, allocations: 1.893 GB / 2.534 GB, free: 3.227 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002436/5.366, allocations: 90 kB / 2.534 GB, free: 3.18 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.774/8.14, allocations: 0.5956 GB / 3.129 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/8.14, allocations: 0 / 3.129 GB, free: 136.1 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001206/8.14, allocations: 27.47 kB / 3.13 GB, free: 136.1 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.003383/8.144, allocations: 1.143 MB / 3.131 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.889e-05/8.144, allocations: 7.562 kB / 3.131 GB, free: 135.6 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000376/8.144, allocations: 120.5 kB / 3.131 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001736/8.146, allocations: 217.7 kB / 3.131 GB, free: 135.5 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001843/8.148, allocations: 0.6675 MB / 3.132 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.167e-05/8.148, allocations: 56.16 kB / 3.132 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002273/8.148, allocations: 76.56 kB / 3.132 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/8.15, allocations: 0.8907 MB / 3.133 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.231e-05/8.15, allocations: 2.438 kB / 3.133 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.489e-05/8.15, allocations: 35.88 kB / 3.133 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.104e-05/8.15, allocations: 34.11 kB / 3.133 GB, free: 135 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001147/8.151, allocations: 0.5747 MB / 3.133 GB, free: 135 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.004911/8.156, allocations: 4.559 MB / 3.138 GB, free: 131.9 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006262/8.157, allocations: 444.3 kB / 3.138 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003113/8.157, allocations: 230.4 kB / 3.138 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002428/8.157, allocations: 105.4 kB / 3.138 GB, free: 131.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.414e-05/8.157, allocations: 37.62 kB / 3.138 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.805e-06/8.158, allocations: 0 / 3.138 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=45): time 0.00303/8.161, allocations: 1.407 MB / 3.14 GB, free: 131 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/8.161, allocations: 111.9 kB / 3.14 GB, free: 130.9 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009193/8.162, allocations: 0.6085 MB / 3.141 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.174e-05/8.162, allocations: 38.36 kB / 3.141 GB, free: 130.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003212/8.162, allocations: 422.3 kB / 3.141 GB, free: 130.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/8.162, allocations: 170.1 kB / 3.141 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.833e-05/8.162, allocations: 10.72 kB / 3.141 GB, free: 130.5 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.773e-05/8.162, allocations: 331.2 kB / 3.141 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/8.162, allocations: 176.5 kB / 3.142 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000396/8.163, allocations: 415.7 kB / 3.142 GB, free: 129.9 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.001584/8.164, allocations: 0.6551 MB / 3.143 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.364e-06/8.164, allocations: 7.203 kB / 3.143 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00104/8.166, allocations: 0.6428 MB / 3.143 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/8.166, allocations: 9.781 kB / 3.143 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/8.166, allocations: 9.891 kB / 3.143 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.714e-05/8.166, allocations: 9.969 kB / 3.143 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004729/8.166, allocations: 127.8 kB / 3.143 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/8.166, allocations: 9.75 kB / 3.143 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007555/8.167, allocations: 51.97 kB / 3.144 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/8.167, allocations: 32.91 kB / 3.144 GB, free: 129.7 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.0001637/8.167, allocations: 148.9 kB / 3.144 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001763/8.167, allocations: 84.61 kB / 3.144 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002358/8.168, allocations: 93.89 kB / 3.144 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.414e-06/8.168, allocations: 10.84 kB / 3.144 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.649e-06/8.168, allocations: 0 / 3.144 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000602/8.168, allocations: 0.6759 MB / 3.145 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002378/8.171, allocations: 1.605 MB / 3.146 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/8.171, allocations: 3.5 kB / 3.146 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004437/8.171, allocations: 104.8 kB / 3.146 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.288e-05/8.171, allocations: 3.938 kB / 3.146 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/8.171, allocations: 16.98 kB / 3.146 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.248e-06/8.171, allocations: 7.094 kB / 3.146 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/8.171, allocations: 12.42 kB / 3.146 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001094/8.172, allocations: 1.053 MB / 3.147 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003602/8.173, allocations: 200.5 kB / 3.147 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001437/8.173, allocations: 15.06 kB / 3.147 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005907/8.173, allocations: 42.58 kB / 3.148 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.026e-05/8.173, allocations: 45 kB / 3.148 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.5e-05/8.174, allocations: 17.59 kB / 3.148 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006215/8.174, allocations: 0.4956 MB / 3.148 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.11e-07/8.174, allocations: 0 / 3.148 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001598/8.176, allocations: 369.2 kB / 3.148 GB, free: 127.7 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.004004/8.18, allocations: 4.172 MB / 3.152 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0008735/8.181, allocations: 460.3 kB / 3.153 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/8.181, allocations: 3.812 kB / 3.153 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002658/8.181, allocations: 202.2 kB / 3.153 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002395/8.183, allocations: 453.6 kB / 3.154 GB, free: 125.3 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003443/8.187, allocations: 1.517 MB / 3.155 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/8.187, allocations: 1.052 MB / 3.156 GB, free: 124.1 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008485/8.188, allocations: 195.5 kB / 3.156 GB, free: 124 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004441/8.189, allocations: 302.3 kB / 3.157 GB, free: 124 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/8.189, allocations: 0 / 3.157 GB, free: 124 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09128/8.28, allocations: 51.24 MB / 3.207 GB, free: 109.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/8.28, allocations: 212.2 kB / 3.207 GB, free: 108.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.772/12.05, allocations: 0 / 3.207 GB, free: 108.8 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)