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.001046/0.001046, allocations: 180.9 kB / 7.651 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.7765/0.7765, 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.482/1.482, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008212/0.000821, allocations: 102.9 kB / 478.2 MB, free: 1.324 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.246e-05/3.281e-05, allocations: 4 kB / 0.5535 GB, free: 8.965 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4977/0.4977, allocations: 82.3 MB / 0.6339 GB, free: 40.74 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.191/5.688, allocations: 1.892 GB / 2.526 GB, free: 104.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/5.689, allocations: 83.14 kB / 2.526 GB, free: 104.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.266/7.954, allocations: 0.6079 GB / 3.134 GB, free: 27.78 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.493e-06/7.955, allocations: 3.938 kB / 3.134 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.873e-05/7.955, allocations: 15.98 kB / 3.134 GB, free: 27.76 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.002539/7.957, allocations: 1.043 MB / 3.135 GB, free: 26.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/7.957, allocations: 8.031 kB / 3.135 GB, free: 26.66 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/7.958, allocations: 186.8 kB / 3.135 GB, free: 26.48 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/7.96, allocations: 0.5466 MB / 3.135 GB, free: 25.89 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003221/7.96, allocations: 89.25 kB / 3.135 GB, free: 25.8 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001302/7.96, allocations: 36 kB / 3.135 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006146/7.961, allocations: 314.5 kB / 3.136 GB, free: 25.46 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/7.962, allocations: 0.6366 MB / 3.136 GB, free: 24.72 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.2e-05/7.962, allocations: 7.938 kB / 3.136 GB, free: 24.71 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/7.962, allocations: 7.938 kB / 3.136 GB, free: 24.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/7.962, allocations: 24.78 kB / 3.136 GB, free: 24.68 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.00335/7.965, allocations: 4.008 MB / 3.14 GB, free: 20.45 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 9.903e-05/7.965, allocations: 102.5 kB / 3.14 GB, free: 20.32 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.549e-05/7.965, allocations: 67.41 kB / 3.14 GB, free: 20.24 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/7.965, allocations: 100.6 kB / 3.141 GB, free: 20.12 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/7.965, allocations: 38.56 kB / 3.141 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 2.485e-06/7.965, allocations: 0 / 3.141 GB, free: 20.08 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.0005389/7.966, allocations: 161 kB / 3.141 GB, free: 19.91 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/7.966, allocations: 136.4 kB / 3.141 GB, free: 19.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/7.967, allocations: 462 kB / 3.141 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.566e-05/7.967, allocations: 25.7 kB / 3.141 GB, free: 19.26 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/7.967, allocations: 410.9 kB / 3.142 GB, free: 18.85 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/7.967, allocations: 39.45 kB / 3.142 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.312e-05/7.967, allocations: 64 / 3.142 GB, free: 18.81 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.144e-05/7.967, allocations: 358.8 kB / 3.142 GB, free: 18.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/7.967, allocations: 79.97 kB / 3.142 GB, free: 18.38 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/7.967, allocations: 307.7 kB / 3.142 GB, free: 17.96 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/7.968, allocations: 131.9 kB / 3.143 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/7.968, allocations: 4 kB / 3.143 GB, free: 17.83 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43) (initialization): time 0.000586/7.968, allocations: 368.4 kB / 3.143 GB, free: 17.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.118e-05/7.968, allocations: 8.906 kB / 3.143 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/7.968, allocations: 7.984 kB / 3.143 GB, free: 17.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/7.968, allocations: 16 kB / 3.143 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003036/7.969, allocations: 95.83 kB / 3.143 GB, free: 17.34 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/7.969, allocations: 11.94 kB / 3.143 GB, free: 17.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005861/7.969, allocations: 99.47 kB / 3.143 GB, free: 17.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.8e-05/7.969, allocations: 24 kB / 3.143 GB, free: 17.2 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.142e-05/7.969, allocations: 120.8 kB / 3.143 GB, free: 17.08 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002463/7.97, allocations: 149 kB / 3.143 GB, free: 16.93 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001027/7.97, allocations: 51.34 kB / 3.144 GB, free: 16.88 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.552e-05/7.97, allocations: 52.25 kB / 3.144 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/7.97, allocations: 0 / 3.144 GB, free: 16.82 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/7.97, allocations: 8.062 kB / 3.144 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.709e-06/7.97, allocations: 0 / 3.144 GB, free: 16.81 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/7.971, allocations: 1.035 MB / 3.145 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/7.971, allocations: 3.938 kB / 3.145 GB, free: 15.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.693e-05/7.971, allocations: 19.98 kB / 3.145 GB, free: 15.68 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.811e-06/7.971, allocations: 4 kB / 3.145 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/7.971, allocations: 4 kB / 3.145 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.296e-06/7.971, allocations: 0 / 3.145 GB, free: 15.67 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.268e-06/7.971, allocations: 7.938 kB / 3.145 GB, free: 15.66 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002386/7.971, allocations: 343.8 kB / 3.145 GB, free: 15.22 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001445/7.971, allocations: 148.3 kB / 3.145 GB, free: 15.06 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.925e-05/7.971, allocations: 4 kB / 3.145 GB, free: 15.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002486/7.972, allocations: 19.98 kB / 3.145 GB, free: 15.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.333e-05/7.972, allocations: 19.92 kB / 3.145 GB, free: 15.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.536e-06/7.972, allocations: 12.06 kB / 3.145 GB, free: 15 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003245/7.972, allocations: 334.9 kB / 3.145 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/7.972, allocations: 0 / 3.145 GB, free: 14.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0009896/7.973, allocations: 295.3 kB / 3.146 GB, free: 14.39 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.002926/7.976, allocations: 3.319 MB / 3.149 GB, free: 10.92 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003486/7.976, allocations: 172.8 kB / 3.149 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/7.976, allocations: 0.6875 kB / 3.149 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.205e-05/7.976, allocations: 55.84 kB / 3.149 GB, free: 10.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009182/7.977, allocations: 189.7 kB / 3.149 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001725/7.979, allocations: 0.8583 MB / 3.15 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003504/7.98, allocations: 0.9518 MB / 3.151 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003956/7.98, allocations: 104.4 kB / 3.151 GB, free: 8.508 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/7.98, allocations: 211.4 kB / 3.151 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of SimCode: time 3.91e-07/7.98, allocations: 3.938 kB / 3.151 GB, free: 8.297 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4842/8.464, allocations: 24.5 MB / 3.175 GB, free: 118.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001694/8.465, allocations: 201.3 kB / 3.176 GB, free: 118.5 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.995/11.46, allocations: 0 / 3.176 GB, free: 118.5 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)