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.0007483/0.0007484, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008306/0.0008306, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7237/0.7237, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003172/0.0003172, allocations: 9.812 kB / 0.5035 GB, free: 4.152 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4387/0.4391, allocations: 81.57 MB / 0.5831 GB, free: 4 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeTraceSubstance): time 0.1842/0.6233, allocations: 173.1 MB / 0.7522 GB, free: 2.953 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007569/0.631, allocations: 5.365 MB / 0.7575 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006201/0.6316, allocations: 35.75 kB / 0.7575 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009421/0.6326, allocations: 385.5 kB / 0.7579 GB, free: 13.17 MB / 0.5919 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002464/0.635, allocations: 1.201 MB / 0.759 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002077/0.6371, allocations: 0.8891 MB / 0.7599 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002807/0.6399, allocations: 2.928 MB / 0.7628 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008976/0.6408, allocations: 0.696 MB / 0.7635 GB, free: 7.441 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001375/0.6422, allocations: 0.848 MB / 0.7643 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001022/0.6433, allocations: 0.7666 MB / 0.765 GB, free: 5.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.306e-05/0.6434, allocations: 40 kB / 0.7651 GB, free: 5.781 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001864/0.6452, allocations: 0.9042 MB / 0.766 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003954/0.6456, allocations: 422.8 kB / 0.7664 GB, free: 4.461 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002397/0.6459, allocations: 253.1 kB / 0.7666 GB, free: 4.207 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001502/0.6474, allocations: 1.485 MB / 0.768 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.6474, allocations: 0 / 0.768 GB, free: 2.719 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.462e-06/0.6474, allocations: 3.938 kB / 0.768 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.394e-05/0.6474, allocations: 0 / 0.768 GB, free: 2.715 MB / 0.5919 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.001992/0.6494, allocations: 1.262 MB / 0.7693 GB, free: 1.398 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.6495, allocations: 12.03 kB / 0.7693 GB, free: 1.387 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001702/0.6497, allocations: 135.2 kB / 0.7694 GB, free: 1.246 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.6514, allocations: 346.3 kB / 0.7698 GB, free: 0.9062 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001109/0.6526, allocations: 0.7536 MB / 0.7705 GB, free: 112 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003325/0.6529, allocations: 129.9 kB / 0.7706 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001195/0.653, allocations: 84 kB / 0.7707 GB, free: 15.89 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.6547, allocations: 1.06 MB / 0.7717 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.6548, allocations: 11.92 kB / 0.7717 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.134e-05/0.6548, allocations: 43.92 kB / 0.7718 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.6549, allocations: 41.94 kB / 0.7718 GB, free: 14.71 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0015/0.6564, allocations: 0.8353 MB / 0.7726 GB, free: 13.88 MB / 0.6075 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.005096/0.6615, allocations: 4.043 MB / 0.7766 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005629/0.6621, allocations: 389.8 kB / 0.777 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003134/0.6624, allocations: 205.3 kB / 0.7772 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001899/0.6626, allocations: 105 kB / 0.7773 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.6627, allocations: 50.48 kB / 0.7773 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=36): time 1.853e-06/0.6627, allocations: 0 / 0.7773 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=38): time 0.00224/0.6649, allocations: 1.307 MB / 0.7786 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.401e-05/0.665, allocations: 55.41 kB / 0.7786 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001193/0.6662, allocations: 0.992 MB / 0.7796 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.501e-05/0.6662, allocations: 41.69 kB / 0.7796 GB, free: 6.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003256/0.6665, allocations: 499.3 kB / 0.7801 GB, free: 5.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001113/0.6667, allocations: 142 kB / 0.7803 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.6667, allocations: 8 kB / 0.7803 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.915e-05/0.6668, allocations: 330 kB / 0.7806 GB, free: 5.332 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004244/0.6672, allocations: 237.2 kB / 0.7808 GB, free: 5.102 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000535/0.6678, allocations: 418.9 kB / 0.7812 GB, free: 4.621 MB / 0.6075 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.001594/0.6694, allocations: 0.7271 MB / 0.7819 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6694, allocations: 0 / 0.7819 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001214/0.6706, allocations: 0.7615 MB / 0.7827 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.744e-05/0.6706, allocations: 9.875 kB / 0.7827 GB, free: 3.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.774e-06/0.6707, allocations: 4 kB / 0.7827 GB, free: 3.094 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.6707, allocations: 8 kB / 0.7827 GB, free: 3.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.6712, allocations: 139.8 kB / 0.7828 GB, free: 2.949 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.439e-05/0.6712, allocations: 11.98 kB / 0.7828 GB, free: 2.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007637/0.672, allocations: 95.83 kB / 0.7829 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/0.672, allocations: 27.94 kB / 0.7829 GB, free: 2.816 MB / 0.6075 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.00035/0.6724, allocations: 317.5 kB / 0.7832 GB, free: 2.496 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001288/0.6725, allocations: 102.8 kB / 0.7833 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001621/0.6727, allocations: 97.03 kB / 0.7834 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.6727, allocations: 4 kB / 0.7834 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.6727, allocations: 0 / 0.7834 GB, free: 2.297 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006115/0.6733, allocations: 0.6729 MB / 0.7841 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002101/0.6755, allocations: 1.594 MB / 0.7856 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.6755, allocations: 4 kB / 0.7857 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003689/0.6759, allocations: 87.89 kB / 0.7857 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.6759, allocations: 4 kB / 0.7857 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.124e-05/0.6759, allocations: 19.98 kB / 0.7858 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.955e-06/0.6759, allocations: 8.438 kB / 0.7858 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.6759, allocations: 12 kB / 0.7858 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.6769, allocations: 0.849 MB / 0.7866 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.6772, allocations: 239.9 kB / 0.7868 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001136/0.6774, allocations: 12 kB / 0.7868 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006274/0.678, allocations: 63.91 kB / 0.7869 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.072e-05/0.678, allocations: 35.86 kB / 0.7869 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.931e-05/0.6781, allocations: 23.98 kB / 0.787 GB, free: 14.41 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0008977/0.679, allocations: 0.7034 MB / 0.7877 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.679, allocations: 0 / 0.7877 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000703/0.6797, allocations: 252 kB / 0.7879 GB, free: 13.45 MB / 0.6231 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.00145/0.6812, allocations: 1.492 MB / 0.7893 GB, free: 11.89 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0008082/0.682, allocations: 499.6 kB / 0.7898 GB, free: 11.4 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.682, allocations: 3.938 kB / 0.7898 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002533/0.6823, allocations: 186 kB / 0.79 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002356/0.6847, allocations: 0.5941 MB / 0.7906 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008324/0.693, allocations: 5.834 MB / 0.7963 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007007/0.6937, allocations: 1.099 MB / 0.7974 GB, free: 3.375 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008331/0.6945, allocations: 240.2 kB / 0.7976 GB, free: 3.137 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004437/0.695, allocations: 339.3 kB / 0.7979 GB, free: 2.805 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.695, allocations: 4 kB / 0.7979 GB, free: 2.801 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.317/1.012, allocations: 27.2 MB / 0.8245 GB, free: 217 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001636/1.012, allocations: 236.3 kB / 0.8247 GB, free: 216.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.164/3.176, allocations: 2.391 kB / 0.8247 GB, free: 216.8 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: