Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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: translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") translateModel(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 109.8 kB / 16.37 MB, free: 6.477 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.001131/0.001131, allocations: 193.1 kB / 17.31 MB, free: 5.824 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.293/1.293, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7709/0.7709, allocations: 135.1 MB / 426.3 MB, free: 4.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00158/0.001581, allocations: 63.91 kB / 0.5067 GB, free: 7.734 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3742/0.3758, allocations: 80.9 MB / 0.5857 GB, free: 25.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.4822/0.858, allocations: 170.8 MB / 0.7525 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.006851/0.8649, allocations: 3.389 MB / 0.7558 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008104/0.8657, allocations: 20.72 kB / 0.7558 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0008129/0.8665, allocations: 310.6 kB / 0.7561 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002229/0.8688, allocations: 1.016 MB / 0.7571 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001536/0.8704, allocations: 0.662 MB / 0.7578 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001602/0.872, allocations: 1.531 MB / 0.7593 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005776/0.8726, allocations: 474.9 kB / 0.7597 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009073/0.8735, allocations: 0.5687 MB / 0.7603 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001145/0.8746, allocations: 467.7 kB / 0.7607 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000115/0.8748, allocations: 55.34 kB / 0.7608 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001731/0.8765, allocations: 0.831 MB / 0.7616 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003035/0.8768, allocations: 238 kB / 0.7618 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0004059/0.8772, allocations: 333.5 kB / 0.7621 GB, free: 1.617 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001585/0.8788, allocations: 1.14 MB / 0.7632 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.8788, allocations: 0.9688 kB / 0.7632 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.623e-06/0.8789, allocations: 0 / 0.7632 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.8789, allocations: 0.9375 kB / 0.7632 GB, free: 1.559 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: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001466/0.8803, allocations: 0.9168 MB / 0.7641 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.8804, allocations: 11.34 kB / 0.7642 GB, free: 16.99 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.8816, allocations: 169.9 kB / 0.7643 GB, free: 16.96 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009623/0.8826, allocations: 0.5311 MB / 0.7648 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.397e-05/0.8826, allocations: 30.31 kB / 0.7649 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001024/0.8827, allocations: 42.12 kB / 0.7649 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008907/0.8836, allocations: 474.5 kB / 0.7654 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.8837, allocations: 1.5 kB / 0.7654 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.148e-05/0.8837, allocations: 21.84 kB / 0.7654 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/0.8838, allocations: 15.91 kB / 0.7654 GB, free: 16.66 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005981/0.8844, allocations: 416.1 kB / 0.7658 GB, free: 16.66 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.002418/0.8868, allocations: 1.717 MB / 0.7675 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005338/0.8873, allocations: 313.3 kB / 0.7678 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.8876, allocations: 186 kB / 0.7679 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002019/0.8878, allocations: 97.86 kB / 0.768 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.536e-05/0.8879, allocations: 39.44 kB / 0.7681 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 2.144e-06/0.8879, allocations: 0 / 0.7681 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of matching and sorting (n=33): time 0.001883/0.8898, allocations: 1.059 MB / 0.7691 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.8898, allocations: 58.25 kB / 0.7692 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004594/0.8903, allocations: 456.2 kB / 0.7696 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.117e-05/0.8903, allocations: 36.02 kB / 0.7696 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001597/0.8905, allocations: 252.2 kB / 0.7699 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.8906, allocations: 114.9 kB / 0.77 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001019/0.8907, allocations: 70.03 kB / 0.7701 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.8908, allocations: 358 kB / 0.7704 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001689/0.891, allocations: 125 kB / 0.7705 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002071/0.8912, allocations: 206.5 kB / 0.7707 GB, free: 14.56 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001907/0.8931, allocations: 0.8504 MB / 0.7715 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.8932, allocations: 0.8438 kB / 0.7715 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006049/0.8938, allocations: 420 kB / 0.7719 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.8938, allocations: 9.016 kB / 0.7719 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8938, allocations: 2.344 kB / 0.772 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.8938, allocations: 3.969 kB / 0.772 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003226/0.8942, allocations: 65.33 kB / 0.772 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.552e-05/0.8942, allocations: 9.391 kB / 0.772 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000405/0.8946, allocations: 18.14 kB / 0.772 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.647e-05/0.8946, allocations: 15.03 kB / 0.7721 GB, free: 14.33 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 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000253/0.8949, allocations: 214.8 kB / 0.7723 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.364e-05/0.895, allocations: 52 kB / 0.7723 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001022/0.8951, allocations: 58.98 kB / 0.7724 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.8951, allocations: 6 kB / 0.7724 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8951, allocations: 0 / 0.7724 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004079/0.8955, allocations: 408.2 kB / 0.7728 GB, free: 14.02 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001554/0.8971, allocations: 1.245 MB / 0.774 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.8971, allocations: 7.25 kB / 0.774 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.8974, allocations: 70.89 kB / 0.7741 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.692e-06/0.8975, allocations: 5.812 kB / 0.7741 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.685e-05/0.8975, allocations: 17.75 kB / 0.7741 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.541e-06/0.8975, allocations: 7.781 kB / 0.7741 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.8975, allocations: 6.938 kB / 0.7741 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007548/0.8983, allocations: 0.7219 MB / 0.7748 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000249/0.8985, allocations: 173.1 kB / 0.775 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.741e-05/0.8986, allocations: 11.38 kB / 0.775 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003923/0.899, allocations: 14.92 kB / 0.775 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.077e-05/0.8991, allocations: 38.38 kB / 0.775 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.193e-05/0.8991, allocations: 22.95 kB / 0.775 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003087/0.8994, allocations: 326.4 kB / 0.7754 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8994, allocations: 0.9062 kB / 0.7754 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005967/0.9, allocations: 137.4 kB / 0.7755 GB, free: 13.07 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (vol.dynBal.U,vol.dynBal.mXi[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 (33): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004433/0.9005, allocations: 183.7 kB / 0.7757 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005434/0.901, allocations: 328.6 kB / 0.776 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.9011, allocations: 0.9688 kB / 0.776 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.9013, allocations: 165 kB / 0.7761 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001554/0.9028, allocations: 371.5 kB / 0.7765 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001673/0.9045, allocations: 1.113 MB / 0.7776 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004195/0.9049, allocations: 0.887 MB / 0.7784 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004144/0.9054, allocations: 132.7 kB / 0.7786 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.9055, allocations: 42.78 kB / 0.7786 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.9055, allocations: 0.9688 kB / 0.7786 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of Templates: time 0.01755/0.923, allocations: 11.09 MB / 0.7894 GB, free: 11.16 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.makefile (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & ./IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)