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.01483/0.01483, allocations: 171.1 kB / 15.11 MB, free: 5.582 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.393/1.393, allocations: 135.2 MB / 151.1 MB, free: 13.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 2.995/2.995, allocations: 223.2 MB / 406.8 MB, free: 3.258 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.001454/0.001454, allocations: 102.4 kB / 489.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006206/0.0006201, allocations: 8 kB / 0.5692 GB, free: 14.09 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.923/0.9236, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 10.02/10.94, allocations: 1.892 GB / 2.542 GB, free: 45.55 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006523/10.94, allocations: 90.58 kB / 2.542 GB, free: 45.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.116/16.06, allocations: 0.6153 GB / 3.157 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.611e-06/16.06, allocations: 3.469 kB / 3.157 GB, free: 133.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001214/16.06, allocations: 21.84 kB / 3.157 GB, free: 133.8 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.005247/16.06, allocations: 1.127 MB / 3.158 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 9.236e-05/16.06, allocations: 11.5 kB / 3.158 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002651/16.06, allocations: 111.7 kB / 3.159 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001512/16.07, allocations: 176.9 kB / 3.159 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002195/16.07, allocations: 0.543 MB / 3.159 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005653/16.07, allocations: 114.2 kB / 3.159 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001318/16.07, allocations: 59.31 kB / 3.159 GB, free: 132.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002281/16.07, allocations: 0.7565 MB / 3.16 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.961e-05/16.07, allocations: 7.219 kB / 3.16 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.361e-05/16.07, allocations: 25.59 kB / 3.16 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-05/16.07, allocations: 22.88 kB / 3.16 GB, free: 132.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001797/16.07, allocations: 471.2 kB / 3.161 GB, free: 132.6 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.009087/16.08, allocations: 4.187 MB / 3.165 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000299/16.08, allocations: 104.8 kB / 3.165 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003773/16.08, allocations: 99.91 kB / 3.165 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.034e-05/16.08, allocations: 41.23 kB / 3.165 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 8.346e-06/16.08, allocations: 0 / 3.165 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001591/16.08, allocations: 239.9 kB / 3.165 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/16.08, allocations: 135 kB / 3.165 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00215/16.09, allocations: 0.7412 MB / 3.166 GB, free: 129 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.34e-05/16.09, allocations: 31.83 kB / 3.166 GB, free: 129 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006588/16.09, allocations: 396 kB / 3.167 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.191e-05/16.09, allocations: 39.95 kB / 3.167 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.554e-05/16.09, allocations: 6.375 kB / 3.167 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000239/16.09, allocations: 327.7 kB / 3.167 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004578/16.09, allocations: 114.2 kB / 3.167 GB, free: 128.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000803/16.09, allocations: 359.9 kB / 3.167 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/16.09, allocations: 174.1 kB / 3.167 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.354e-05/16.09, allocations: 3.438 kB / 3.168 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.001721/16.09, allocations: 0.4896 MB / 3.168 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.387e-05/16.09, allocations: 10.38 kB / 3.168 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.084e-05/16.09, allocations: 7.188 kB / 3.168 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.254e-05/16.09, allocations: 10.66 kB / 3.168 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/16.09, allocations: 87.88 kB / 3.168 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.521e-05/16.09, allocations: 17.36 kB / 3.168 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001388/16.09, allocations: 130.3 kB / 3.168 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/16.09, allocations: 25.31 kB / 3.168 GB, free: 128.1 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.0006092/16.09, allocations: 231.1 kB / 3.168 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003085/16.09, allocations: 72.78 kB / 3.169 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002426/16.09, allocations: 82.84 kB / 3.169 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.897e-06/16.09, allocations: 3.688 kB / 3.169 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/16.09, allocations: 0 / 3.169 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/16.09, allocations: 0 / 3.169 GB, free: 127.9 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002445/16.1, allocations: 1.127 MB / 3.17 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.021e-06/16.1, allocations: 1.562 kB / 3.17 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001223/16.1, allocations: 15.72 kB / 3.17 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.447e-05/16.1, allocations: 7.922 kB / 3.17 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.935e-05/16.1, allocations: 3.938 kB / 3.17 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.087e-05/16.1, allocations: 11.67 kB / 3.17 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/16.1, allocations: 0 / 3.17 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006193/16.1, allocations: 368.5 kB / 3.17 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004249/16.1, allocations: 169.1 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002282/16.1, allocations: 14 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005876/16.1, allocations: 21.61 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.977e-05/16.1, allocations: 19.27 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/16.1, allocations: 8.594 kB / 3.17 GB, free: 126.8 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001392/16.1, allocations: 0.5788 MB / 3.171 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.41e-07/16.1, allocations: 0 / 3.171 GB, free: 126.7 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002297/16.1, allocations: 323.4 kB / 3.171 GB, free: 126.7 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.005609/16.11, allocations: 3.144 MB / 3.174 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001113/16.11, allocations: 239.8 kB / 3.175 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.084e-05/16.11, allocations: 3.938 kB / 3.175 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001349/16.11, allocations: 45.73 kB / 3.175 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003283/16.11, allocations: 354.8 kB / 3.175 GB, free: 124.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01646/16.13, allocations: 8.502 MB / 3.183 GB, free: 118.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001008/16.13, allocations: 0.9474 MB / 3.184 GB, free: 118 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00134/16.13, allocations: 140.5 kB / 3.184 GB, free: 118 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/16.13, allocations: 232.9 kB / 3.184 GB, free: 118 MB / 0.6823 GB Notification: Performance of SimCode: time 2.846e-06/16.13, allocations: 0 / 3.184 GB, free: 118 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1639/16.3, allocations: 43.5 MB / 3.227 GB, free: 116.3 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003434/16.3, allocations: 235.6 kB / 3.227 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.469/21.77, allocations: 1.562 kB / 3.227 GB, free: 116.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)