Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001779/0.001779, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002504/0.002504, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.424/2.424, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.243/1.243, allocations: 132.2 MB / 423.2 MB, free: 2.211 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004543/0.0004545, allocations: 15.94 kB / 0.5033 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9016/0.9021, allocations: 81.58 MB / 0.583 GB, free: 4.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.3819/1.284, allocations: 158.1 MB / 0.7373 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01744/1.302, allocations: 5.597 MB / 0.7428 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002456/1.304, allocations: 31.75 kB / 0.7428 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003256/1.308, allocations: 0.5599 MB / 0.7434 GB, free: 11.96 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.009769/1.317, allocations: 1.648 MB / 0.745 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.007508/1.325, allocations: 1.196 MB / 0.7461 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006734/1.332, allocations: 1.458 MB / 0.7476 GB, free: 7.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002295/1.334, allocations: 0.7117 MB / 0.7483 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003234/1.337, allocations: 0.7397 MB / 0.749 GB, free: 6.215 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001923/1.339, allocations: 0.5136 MB / 0.7495 GB, free: 5.699 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002523/1.34, allocations: 40 kB / 0.7495 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004321/1.344, allocations: 0.8853 MB / 0.7504 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009658/1.345, allocations: 395 kB / 0.7508 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007352/1.346, allocations: 249.1 kB / 0.751 GB, free: 4.137 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003728/1.349, allocations: 1.438 MB / 0.7524 GB, free: 2.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.349, allocations: 4 kB / 0.7524 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.915e-06/1.349, allocations: 0 / 0.7524 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.799e-05/1.349, allocations: 0 / 0.7524 GB, free: 2.691 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 212 * Number of variables: 212 Notification: Performance of Generate backend data structure: time 0.00396/1.353, allocations: 1.25 MB / 0.7536 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 8.273e-05/1.354, allocations: 8.031 kB / 0.7536 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003648/1.354, allocations: 147.2 kB / 0.7538 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003481/1.357, allocations: 350.2 kB / 0.7541 GB, free: 0.8828 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/1.36, allocations: 0.7458 MB / 0.7548 GB, free: 96 kB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006374/1.361, allocations: 134 kB / 0.755 GB, free: 15.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003301/1.361, allocations: 84 kB / 0.7551 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003482/1.365, allocations: 1.06 MB / 0.7561 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.771e-05/1.365, allocations: 0 / 0.7561 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001717/1.365, allocations: 40 kB / 0.7561 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.76e-05/1.365, allocations: 37.94 kB / 0.7562 GB, free: 14.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002954/1.368, allocations: 0.8392 MB / 0.757 GB, free: 13.87 MB / 0.5919 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.01128/1.38, allocations: 4.054 MB / 0.7609 GB, free: 9.547 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001041/1.381, allocations: 370.8 kB / 0.7613 GB, free: 9.176 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.429e-05/1.381, allocations: 20.56 kB / 0.7613 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.366e-05/1.381, allocations: 42.5 kB / 0.7614 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=36): time 4.939e-06/1.381, allocations: 0 / 0.7614 GB, free: 9.105 MB / 0.5919 GB Notification: Performance of matching and sorting (n=38): time 0.005284/1.386, allocations: 1.319 MB / 0.7626 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.417e-05/1.386, allocations: 55.41 kB / 0.7627 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002761/1.389, allocations: 0.9959 MB / 0.7637 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.000161/1.389, allocations: 33.7 kB / 0.7637 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007497/1.39, allocations: 495.3 kB / 0.7642 GB, free: 6.117 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002729/1.39, allocations: 138 kB / 0.7643 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.249e-05/1.39, allocations: 12 kB / 0.7643 GB, free: 5.969 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002616/1.391, allocations: 330 kB / 0.7646 GB, free: 5.641 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009085/1.392, allocations: 237.2 kB / 0.7649 GB, free: 5.41 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001105/1.393, allocations: 414.9 kB / 0.7653 GB, free: 4.934 MB / 0.5919 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: volDyn.dynBal.medium.p = volDyn.dynBal.p_start (bou.p = volDyn.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003463/1.396, allocations: 0.7232 MB / 0.766 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.765e-06/1.396, allocations: 0 / 0.766 GB, free: 4.191 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003059/1.399, allocations: 0.7575 MB / 0.7667 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/1.399, allocations: 8 kB / 0.7667 GB, free: 3.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.032e-05/1.399, allocations: 4 kB / 0.7667 GB, free: 3.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.376e-05/1.399, allocations: 8 kB / 0.7667 GB, free: 3.406 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.401, allocations: 144 kB / 0.7669 GB, free: 3.266 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.779e-05/1.401, allocations: 8 kB / 0.7669 GB, free: 3.258 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002195/1.403, allocations: 99.77 kB / 0.767 GB, free: 3.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001099/1.403, allocations: 28 kB / 0.767 GB, free: 3.133 MB / 0.5919 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: volDyn.dynBal.medium.p = volDyn.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (71): * Single equations (assignments): 71 * 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.001197/1.404, allocations: 321.5 kB / 0.7673 GB, free: 2.809 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003814/1.405, allocations: 98.78 kB / 0.7674 GB, free: 2.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003278/1.405, allocations: 97.03 kB / 0.7675 GB, free: 2.617 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.265e-05/1.405, allocations: 8 kB / 0.7675 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.51e-05/1.405, allocations: 0 / 0.7675 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001435/1.406, allocations: 0.6728 MB / 0.7681 GB, free: 1.852 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005014/1.411, allocations: 1.586 MB / 0.7697 GB, free: 164 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.22e-05/1.411, allocations: 4 kB / 0.7697 GB, free: 160 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007438/1.412, allocations: 87.89 kB / 0.7698 GB, free: 72 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-05/1.412, allocations: 4 kB / 0.7698 GB, free: 68 kB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-05/1.412, allocations: 16 kB / 0.7698 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.216e-05/1.412, allocations: 7.938 kB / 0.7698 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/1.412, allocations: 12.02 kB / 0.7698 GB, free: 32 kB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002512/1.415, allocations: 1.06 MB / 0.7709 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001056/1.416, allocations: 235.9 kB / 0.7711 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000232/1.416, allocations: 12 kB / 0.7711 GB, free: 14.56 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001353/1.418, allocations: 68.45 kB / 0.7712 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000133/1.418, allocations: 31.86 kB / 0.7712 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001268/1.418, allocations: 27.98 kB / 0.7712 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002062/1.42, allocations: 0.7034 MB / 0.7719 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.01e-07/1.42, allocations: 0 / 0.7719 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001851/1.422, allocations: 256 kB / 0.7721 GB, free: 13.47 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (volDyn.dynBal.U,volDyn.dynBal.mXi[1],volDyn.dynBal.mC[1]) * 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 (38): * Single equations (assignments): 38 * 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.005333/1.427, allocations: 2.788 MB / 0.7749 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00205/1.429, allocations: 0.4887 MB / 0.7753 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.13e-05/1.429, allocations: 0 / 0.7753 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0005193/1.43, allocations: 188.4 kB / 0.7755 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005583/1.436, allocations: 0.5801 MB / 0.7761 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02115/1.457, allocations: 8.924 MB / 0.7848 GB, free: 72 kB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00152/1.458, allocations: 1.115 MB / 0.7859 GB, free: 14.93 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002088/1.46, allocations: 248.4 kB / 0.7861 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008114/1.461, allocations: 347.3 kB / 0.7865 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of SimCode: time 3.246e-06/1.461, allocations: 0 / 0.7865 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08915/1.55, allocations: 27.17 MB / 0.813 GB, free: 3.652 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004138/1.551, allocations: 224.8 kB / 0.8132 GB, free: 3.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.13/5.681, allocations: 1.641 kB / 0.8132 GB, free: 3.41 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeTraceSubstance.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance.pipe 2>&1) Environment - environmentSimulation: