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.00102/0.00102, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001241/0.001241, allocations: 172.7 kB / 15.95 MB, free: 208 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.443/1.443, allocations: 223.3 MB / 240 MB, free: 5.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9662/0.9662, allocations: 135.3 MB / 426.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003578/0.0003579, allocations: 11.94 kB / 0.507 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1637, allocations: 82.31 MB / 0.5874 GB, free: 3.023 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5281/0.6918, allocations: 155.1 MB / 0.7389 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.006425/0.6983, allocations: 3.174 MB / 0.742 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008637/0.6992, allocations: 18.88 kB / 0.742 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008348/0.7001, allocations: 213.5 kB / 0.7422 GB, free: 10.84 MB / 0.5606 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. Notification: Performance of NFTyping.typeBindings: time 0.002472/0.7025, allocations: 0.7518 MB / 0.7429 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001716/0.7043, allocations: 496.4 kB / 0.7434 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002398/0.7067, allocations: 1.775 MB / 0.7451 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006085/0.7073, allocations: 377.1 kB / 0.7455 GB, free: 9.301 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009214/0.7082, allocations: 482.8 kB / 0.746 GB, free: 9.055 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006635/0.7089, allocations: 451.1 kB / 0.7464 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.625e-05/0.709, allocations: 18.19 kB / 0.7464 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001259/0.7102, allocations: 431.2 kB / 0.7468 GB, free: 8.617 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002234/0.7105, allocations: 204.5 kB / 0.747 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001502/0.7106, allocations: 143.2 kB / 0.7471 GB, free: 8.406 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008548/0.7115, allocations: 0.7784 MB / 0.7479 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7115, allocations: 0 / 0.7479 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.694e-06/0.7115, allocations: 0 / 0.7479 GB, free: 7.902 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.7115, allocations: 0 / 0.7479 GB, free: 7.902 MB / 0.5606 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.00128/0.7128, allocations: 0.7973 MB / 0.7487 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.893e-05/0.7129, allocations: 13.7 kB / 0.7487 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.714, allocations: 174.6 kB / 0.7489 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007314/0.7147, allocations: 499.2 kB / 0.7493 GB, free: 6.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.088e-05/0.7148, allocations: 28.78 kB / 0.7494 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.492e-05/0.7148, allocations: 44.47 kB / 0.7494 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007706/0.7156, allocations: 468.5 kB / 0.7499 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.759e-05/0.7157, allocations: 0 / 0.7499 GB, free: 6.449 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.344e-05/0.7157, allocations: 22.41 kB / 0.7499 GB, free: 6.434 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.122e-05/0.7157, allocations: 21.77 kB / 0.7499 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006342/0.7164, allocations: 408.1 kB / 0.7503 GB, free: 6.188 MB / 0.5606 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.002512/0.7189, allocations: 1.736 MB / 0.752 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004511/0.7194, allocations: 308.5 kB / 0.7523 GB, free: 4.004 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002607/0.7196, allocations: 180.8 kB / 0.7525 GB, free: 3.824 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.7198, allocations: 97.05 kB / 0.7525 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.303e-05/0.7199, allocations: 42.5 kB / 0.7526 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.583e-06/0.7199, allocations: 0 / 0.7526 GB, free: 3.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=33): time 0.00207/0.722, allocations: 1.053 MB / 0.7536 GB, free: 2.559 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.499e-05/0.722, allocations: 55.41 kB / 0.7537 GB, free: 2.492 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004908/0.7225, allocations: 449.9 kB / 0.7541 GB, free: 2.043 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.226e-05/0.7226, allocations: 33.7 kB / 0.7541 GB, free: 2.004 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002032/0.7228, allocations: 260 kB / 0.7544 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.984e-05/0.7229, allocations: 110.3 kB / 0.7545 GB, free: 1.637 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.792e-05/0.7229, allocations: 8 kB / 0.7545 GB, free: 1.629 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0002098/0.7231, allocations: 362.8 kB / 0.7548 GB, free: 1.266 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001924/0.7233, allocations: 123.9 kB / 0.755 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002678/0.7236, allocations: 197.2 kB / 0.7551 GB, free: 0.9297 MB / 0.5606 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.001405/0.725, allocations: 0.5488 MB / 0.7557 GB, free: 376 kB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.725, allocations: 0 / 0.7557 GB, free: 376 kB / 0.5606 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006541/0.7257, allocations: 408.8 kB / 0.7561 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/0.7257, allocations: 8 kB / 0.7561 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.7257, allocations: 0 / 0.7561 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.026e-05/0.7258, allocations: 8.188 kB / 0.7561 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004057/0.7262, allocations: 67.91 kB / 0.7561 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.899e-05/0.7262, allocations: 11.92 kB / 0.7562 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004374/0.7267, allocations: 22.81 kB / 0.7562 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.007e-05/0.7267, allocations: 11.98 kB / 0.7562 GB, free: 15.83 MB / 0.5762 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003483/0.7271, allocations: 218.2 kB / 0.7564 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.7272, allocations: 55.33 kB / 0.7565 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/0.7274, allocations: 64.75 kB / 0.7565 GB, free: 15.49 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.004e-05/0.7274, allocations: 4 kB / 0.7565 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.265e-05/0.7274, allocations: 0 / 0.7565 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005778/0.728, allocations: 405.1 kB / 0.7569 GB, free: 15.06 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.7299, allocations: 1.237 MB / 0.7581 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.7299, allocations: 5.297 kB / 0.7581 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003485/0.7303, allocations: 83.88 kB / 0.7582 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.564e-06/0.7303, allocations: 4 kB / 0.7582 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.946e-05/0.7304, allocations: 12 kB / 0.7582 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.706e-06/0.7304, allocations: 11.89 kB / 0.7582 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7304, allocations: 8 kB / 0.7582 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009069/0.7313, allocations: 0.7239 MB / 0.7589 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002219/0.7315, allocations: 168.4 kB / 0.7591 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.796e-05/0.7316, allocations: 16.05 kB / 0.7591 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003919/0.732, allocations: 32.72 kB / 0.7591 GB, free: 12.58 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.584e-05/0.7321, allocations: 35.91 kB / 0.7592 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.7321, allocations: 16 kB / 0.7592 GB, free: 12.53 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003726/0.7325, allocations: 331.1 kB / 0.7595 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2e-07/0.7325, allocations: 0 / 0.7595 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0005545/0.7331, allocations: 148 kB / 0.7597 GB, free: 12.07 MB / 0.5762 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 (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.000418/0.7335, allocations: 178.1 kB / 0.7598 GB, free: 11.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0005649/0.7341, allocations: 316.3 kB / 0.7601 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.7341, allocations: 0 / 0.7601 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002145/0.7343, allocations: 155.8 kB / 0.7603 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/0.7359, allocations: 351.6 kB / 0.7606 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001992/0.7379, allocations: 1.327 MB / 0.7619 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000538/0.7384, allocations: 0.8901 MB / 0.7628 GB, free: 8.789 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0004907/0.7389, allocations: 129.5 kB / 0.7629 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000111/0.739, allocations: 43.44 kB / 0.7629 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.7391, allocations: 0 / 0.7629 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of Templates: time 0.01885/0.7579, allocations: 10.24 MB / 0.7729 GB, free: 14.56 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)