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/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.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",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.001673/0.001673, allocations: 174.8 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.7338/0.7338, 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.616/1.616, allocations: 221.3 MB / 400.4 MB, free: 5.867 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.001219/0.001219, allocations: 100.8 kB / 483.3 MB, free: 5.898 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 3.632e-05/3.666e-05, allocations: 4 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1703/0.1703, allocations: 82.3 MB / 0.6405 GB, free: 7.75 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.042/5.212, allocations: 1.892 GB / 2.533 GB, free: 37.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/5.213, allocations: 83.95 kB / 2.533 GB, free: 37.82 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.839/8.052, allocations: 0.6147 GB / 3.148 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.353e-06/8.052, allocations: 0 / 3.148 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.402e-05/8.052, allocations: 22.98 kB / 3.148 GB, free: 132.6 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: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.002911/8.055, allocations: 1.043 MB / 3.149 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.657e-05/8.055, allocations: 7.75 kB / 3.149 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003144/8.055, allocations: 98.64 kB / 3.149 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/8.057, allocations: 191 kB / 3.149 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/8.058, allocations: 0.537 MB / 3.15 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003771/8.059, allocations: 112.3 kB / 3.15 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001441/8.059, allocations: 66.47 kB / 3.15 GB, free: 131.8 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001206/8.06, allocations: 0.7115 MB / 3.15 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.533e-05/8.06, allocations: 6.062 kB / 3.15 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/8.06, allocations: 24.56 kB / 3.15 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.851e-05/8.06, allocations: 23 kB / 3.15 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008015/8.061, allocations: 391.5 kB / 3.151 GB, free: 131.5 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.004856/8.066, allocations: 4.192 MB / 3.155 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001557/8.066, allocations: 106.7 kB / 3.155 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001125/8.066, allocations: 69.95 kB / 3.155 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002058/8.066, allocations: 100.1 kB / 3.155 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.815e-05/8.066, allocations: 36.98 kB / 3.155 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 4.658e-06/8.066, allocations: 0 / 3.155 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.000802/8.067, allocations: 203.2 kB / 3.155 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.271e-05/8.067, allocations: 135.5 kB / 3.156 GB, free: 128 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009854/8.068, allocations: 0.7051 MB / 3.156 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 4.716e-05/8.068, allocations: 32.61 kB / 3.156 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002916/8.069, allocations: 393.2 kB / 3.157 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.025e-05/8.069, allocations: 42.75 kB / 3.157 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.544e-05/8.069, allocations: 9.016 kB / 3.157 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.76e-05/8.069, allocations: 324.9 kB / 3.157 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001359/8.069, allocations: 77.02 kB / 3.157 GB, free: 127.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002712/8.069, allocations: 326.7 kB / 3.157 GB, free: 127 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/8.069, allocations: 141 kB / 3.157 GB, free: 127 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/8.069, allocations: 3.312 kB / 3.157 GB, free: 127 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007082/8.07, allocations: 433.5 kB / 3.158 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/8.07, allocations: 7.812 kB / 3.158 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.337e-05/8.07, allocations: 7.844 kB / 3.158 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/8.07, allocations: 7.812 kB / 3.158 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/8.071, allocations: 93.06 kB / 3.158 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.799e-05/8.071, allocations: 19.75 kB / 3.158 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000864/8.072, allocations: 132.2 kB / 3.158 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.923e-05/8.072, allocations: 28.3 kB / 3.158 GB, free: 126.9 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 32 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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 9.622e-05/8.072, allocations: 126.5 kB / 3.158 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/8.072, allocations: 75.38 kB / 3.158 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001388/8.072, allocations: 72.58 kB / 3.158 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/8.072, allocations: 9.844 kB / 3.158 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/8.072, allocations: 0 / 3.158 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/8.072, allocations: 0 / 3.158 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001299/8.073, allocations: 1.127 MB / 3.16 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/8.073, allocations: 0 / 3.16 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.603e-05/8.073, allocations: 18.77 kB / 3.16 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/8.073, allocations: 5.797 kB / 3.16 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.21e-05/8.073, allocations: 3.906 kB / 3.16 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.225e-06/8.074, allocations: 9.875 kB / 3.16 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.058e-06/8.074, allocations: 3.562 kB / 3.16 GB, free: 126.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003264/8.074, allocations: 369.4 kB / 3.16 GB, free: 125.8 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002582/8.074, allocations: 172 kB / 3.16 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001131/8.074, allocations: 11.56 kB / 3.16 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000361/8.075, allocations: 21.62 kB / 3.16 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.807e-05/8.075, allocations: 14.42 kB / 3.16 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.596e-06/8.075, allocations: 9.531 kB / 3.16 GB, free: 125.6 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006835/8.075, allocations: 0.5396 MB / 3.161 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/8.075, allocations: 0 / 3.161 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00146/8.077, allocations: 330.4 kB / 3.161 GB, free: 125.5 MB / 0.6823 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 () * 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 (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.00334/8.08, allocations: 3.144 MB / 3.164 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005272/8.081, allocations: 205.2 kB / 3.164 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.761e-06/8.081, allocations: 0 / 3.164 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/8.081, allocations: 50.08 kB / 3.164 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001963/8.083, allocations: 353.9 kB / 3.165 GB, free: 123.6 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00229/8.085, allocations: 0.9102 MB / 3.166 GB, free: 123.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004058/8.086, allocations: 0.958 MB / 3.166 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006482/8.086, allocations: 132.8 kB / 3.167 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002772/8.087, allocations: 234.2 kB / 3.167 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.313e-06/8.087, allocations: 0 / 3.167 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07992/8.166, allocations: 47.82 MB / 3.214 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/8.167, allocations: 215.1 kB / 3.214 GB, free: 118.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.474/11.64, allocations: 0 / 3.214 GB, free: 118.1 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)