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/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_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState,fileNamePrefix="IDEAS_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.01036/0.01036, allocations: 172.1 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7455/0.7455, allocations: 135.2 MB / 151 MB, free: 13.81 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.528/1.528, allocations: 223.2 MB / 406.8 MB, free: 3.254 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.0009338/0.0009337, allocations: 92.69 kB / 489.9 MB, free: 10.94 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003863/0.0003862, allocations: 12 kB / 0.5691 GB, free: 14.1 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4613/0.4617, allocations: 82.31 MB / 0.6495 GB, free: 36.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.207/5.669, allocations: 1.892 GB / 2.542 GB, free: 44.29 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/5.669, allocations: 91.83 kB / 2.542 GB, free: 44.24 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.728/8.397, allocations: 0.6153 GB / 3.157 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.363e-06/8.397, allocations: 0 / 3.157 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.985e-05/8.397, allocations: 16.69 kB / 3.157 GB, free: 133.4 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.002305/8.4, allocations: 1.134 MB / 3.158 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.687e-05/8.4, allocations: 9.328 kB / 3.158 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001164/8.4, allocations: 102.1 kB / 3.159 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000815/8.401, allocations: 180.6 kB / 3.159 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009067/8.402, allocations: 0.5448 MB / 3.159 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003173/8.402, allocations: 111.8 kB / 3.159 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-05/8.402, allocations: 63.84 kB / 3.159 GB, free: 132.5 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001039/8.403, allocations: 0.7523 MB / 3.16 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.875e-05/8.403, allocations: 8.891 kB / 3.16 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.815e-05/8.403, allocations: 24.78 kB / 3.16 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.878e-05/8.403, allocations: 24.44 kB / 3.16 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008271/8.404, allocations: 467.1 kB / 3.161 GB, free: 132.2 MB / 0.6823 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.003176/8.407, allocations: 4.198 MB / 3.165 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/8.407, allocations: 98.98 kB / 3.165 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001773/8.407, allocations: 101.8 kB / 3.165 GB, free: 129 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.719e-05/8.408, allocations: 41.14 kB / 3.165 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.384e-06/8.408, allocations: 0 / 3.165 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0006462/8.408, allocations: 240 kB / 3.165 GB, free: 128.9 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/8.408, allocations: 137.4 kB / 3.165 GB, free: 128.7 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009114/8.409, allocations: 0.7375 MB / 3.166 GB, free: 128.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/8.409, allocations: 25.7 kB / 3.166 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000277/8.409, allocations: 400.6 kB / 3.167 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/8.409, allocations: 43.34 kB / 3.167 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.38e-05/8.41, allocations: 3.875 kB / 3.167 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.543e-05/8.41, allocations: 327.8 kB / 3.167 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002527/8.41, allocations: 113.9 kB / 3.167 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003868/8.41, allocations: 361.1 kB / 3.167 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003041/8.411, allocations: 172.8 kB / 3.167 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/8.411, allocations: 0 / 3.167 GB, free: 127.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0008477/8.411, allocations: 498.7 kB / 3.168 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.096e-05/8.411, allocations: 8.125 kB / 3.168 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.161e-05/8.411, allocations: 7.406 kB / 3.168 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.394e-05/8.412, allocations: 14.22 kB / 3.168 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003064/8.412, allocations: 95.91 kB / 3.168 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.708e-05/8.412, allocations: 15.56 kB / 3.168 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007652/8.413, allocations: 136.1 kB / 3.168 GB, free: 127.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.057e-05/8.413, allocations: 24.84 kB / 3.168 GB, free: 127.7 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 () * Number of clocked 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 0.0002657/8.413, allocations: 228.5 kB / 3.168 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001418/8.413, allocations: 79.62 kB / 3.169 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/8.413, allocations: 72.28 kB / 3.169 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.388e-06/8.413, allocations: 7.156 kB / 3.169 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/8.413, allocations: 0 / 3.169 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/8.413, allocations: 0 / 3.169 GB, free: 127.5 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001149/8.414, allocations: 1.123 MB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.446e-06/8.414, allocations: 3.812 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.068e-05/8.415, allocations: 18.75 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/8.415, allocations: 7.672 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/8.415, allocations: 3.844 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/8.415, allocations: 9.031 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/8.415, allocations: 0 / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003147/8.415, allocations: 370.7 kB / 3.17 GB, free: 126.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002049/8.415, allocations: 171.1 kB / 3.17 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.88e-05/8.415, allocations: 6.156 kB / 3.17 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003329/8.416, allocations: 24.83 kB / 3.17 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.706e-05/8.416, allocations: 21.16 kB / 3.17 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.842e-06/8.416, allocations: 3.531 kB / 3.17 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0007455/8.416, allocations: 0.5864 MB / 3.171 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/8.416, allocations: 0 / 3.171 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001323/8.418, allocations: 323.5 kB / 3.171 GB, free: 126.3 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 () * 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 (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.003311/8.421, allocations: 3.14 MB / 3.174 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005439/8.422, allocations: 236.2 kB / 3.175 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/8.422, allocations: 3.906 kB / 3.175 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.673e-05/8.422, allocations: 49.48 kB / 3.175 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001507/8.423, allocations: 359.2 kB / 3.175 GB, free: 124.4 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006135/8.429, allocations: 8.498 MB / 3.183 GB, free: 118.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003637/8.43, allocations: 0.9508 MB / 3.184 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0006135/8.43, allocations: 139.8 kB / 3.184 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002561/8.431, allocations: 228.5 kB / 3.184 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of SimCode: time 1.213e-06/8.431, allocations: 0 / 3.184 GB, free: 117.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08307/8.514, allocations: 43.5 MB / 3.227 GB, free: 115.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002193/8.514, allocations: 236.9 kB / 3.227 GB, free: 115.7 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.511/12.02, allocations: 0 / 3.227 GB, free: 115.7 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_TraceSubstanceConservationSteadyState.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.TraceSubstanceConservationSteadyState.pipe 2>&1)