Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow",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.007732/0.007732, allocations: 101 kB / 15.73 MB, free: 6.039 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.001337/0.001337, allocations: 195.5 kB / 16.68 MB, free: 5.957 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.274/1.274, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7491/0.7491, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00121/0.00121, allocations: 64.22 kB / 0.5809 GB, free: 24.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1496, allocations: 80.21 MB / 0.6592 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow): time 0.5449/0.6945, allocations: 170.8 MB / 0.826 GB, free: 3.176 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.005515/0.7001, allocations: 3.373 MB / 0.8292 GB, free: 452 kB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009534/0.7011, allocations: 20.41 kB / 0.8293 GB, free: 444 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001179/0.7023, allocations: 334.9 kB / 0.8296 GB, free: 168 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002908/0.7052, allocations: 1.045 MB / 0.8306 GB, free: 15.36 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001831/0.7071, allocations: 0.6683 MB / 0.8313 GB, free: 14.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00282/0.7099, allocations: 1.533 MB / 0.8328 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001104/0.711, allocations: 479.2 kB / 0.8332 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001441/0.7125, allocations: 0.588 MB / 0.8338 GB, free: 13.34 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001561/0.7141, allocations: 467.9 kB / 0.8342 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002565/0.7144, allocations: 66.89 kB / 0.8343 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002326/0.7167, allocations: 0.834 MB / 0.8351 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004142/0.7171, allocations: 238.8 kB / 0.8353 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007222/0.7179, allocations: 332.8 kB / 0.8357 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002606/0.7205, allocations: 1.14 MB / 0.8368 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.643e-06/0.7205, allocations: 0 / 0.8368 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7205, allocations: 0 / 0.8368 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.924e-05/0.7206, allocations: 0 / 0.8368 GB, free: 11.53 MB / 0.6075 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.00204/0.7226, allocations: 0.9127 MB / 0.8377 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.7227, allocations: 10.03 kB / 0.8377 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001143/0.7228, allocations: 84.14 kB / 0.8378 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001427/0.7242, allocations: 178 kB / 0.8379 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009059/0.7252, allocations: 0.523 MB / 0.8384 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.7252, allocations: 30.34 kB / 0.8385 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.346e-05/0.7253, allocations: 46.59 kB / 0.8385 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007461/0.726, allocations: 469.7 kB / 0.839 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.81e-05/0.7261, allocations: 3.938 kB / 0.839 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.413e-05/0.7261, allocations: 22.25 kB / 0.839 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.94e-05/0.7262, allocations: 17.11 kB / 0.839 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00059/0.7267, allocations: 419.7 kB / 0.8394 GB, free: 9.664 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.002676/0.7294, allocations: 1.708 MB / 0.8411 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005008/0.73, allocations: 316.9 kB / 0.8414 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002581/0.7302, allocations: 177.2 kB / 0.8415 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002001/0.7304, allocations: 97.31 kB / 0.8416 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.115e-05/0.7305, allocations: 43.78 kB / 0.8417 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=31): time 2.415e-06/0.7305, allocations: 0 / 0.8417 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of matching and sorting (n=33): time 0.002232/0.7327, allocations: 1.06 MB / 0.8427 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.964e-05/0.7328, allocations: 58.11 kB / 0.8428 GB, free: 7.066 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.7333, allocations: 451.6 kB / 0.8432 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.449e-05/0.7333, allocations: 34.98 kB / 0.8432 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001735/0.7335, allocations: 249.3 kB / 0.8435 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.7336, allocations: 125.2 kB / 0.8436 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001129/0.7338, allocations: 71.98 kB / 0.8436 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.7339, allocations: 360.2 kB / 0.844 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002019/0.7341, allocations: 123.5 kB / 0.8441 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002687/0.7344, allocations: 196.1 kB / 0.8443 GB, free: 5.832 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: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001891/0.7363, allocations: 0.8613 MB / 0.8451 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/0.7363, allocations: 2.844 kB / 0.8451 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006212/0.7369, allocations: 412.2 kB / 0.8455 GB, free: 5.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.737, allocations: 8.844 kB / 0.8455 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.737, allocations: 4.781 kB / 0.8455 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.022e-05/0.737, allocations: 2.812 kB / 0.8456 GB, free: 5.086 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000305/0.7373, allocations: 73.41 kB / 0.8456 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.818e-06/0.7373, allocations: 2.812 kB / 0.8456 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004268/0.7378, allocations: 16.7 kB / 0.8456 GB, free: 5.059 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/0.7378, allocations: 11.44 kB / 0.8457 GB, free: 5.059 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 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.0002761/0.7381, allocations: 216.8 kB / 0.8459 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001026/0.7382, allocations: 48.19 kB / 0.8459 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001304/0.7383, allocations: 63.94 kB / 0.846 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7383, allocations: 2.219 kB / 0.846 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.345e-06/0.7384, allocations: 2.906 kB / 0.846 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000464/0.7388, allocations: 407.5 kB / 0.8464 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.7406, allocations: 1.245 MB / 0.8476 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.933e-06/0.7407, allocations: 5.625 kB / 0.8476 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.741, allocations: 77.77 kB / 0.8477 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.741, allocations: 7.469 kB / 0.8477 GB, free: 3.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.744e-05/0.7411, allocations: 11.38 kB / 0.8477 GB, free: 3.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.7411, allocations: 9.719 kB / 0.8477 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/0.7411, allocations: 2.469 kB / 0.8477 GB, free: 3.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008592/0.7419, allocations: 0.7372 MB / 0.8484 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002312/0.7422, allocations: 169.1 kB / 0.8486 GB, free: 2.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.358e-05/0.7423, allocations: 15.97 kB / 0.8486 GB, free: 2.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004032/0.7427, allocations: 17.67 kB / 0.8486 GB, free: 2.805 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.393e-05/0.7427, allocations: 24.67 kB / 0.8486 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.252e-05/0.7428, allocations: 27.02 kB / 0.8486 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003321/0.7431, allocations: 329 kB / 0.849 GB, free: 2.59 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7431, allocations: 3.938 kB / 0.849 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005649/0.7437, allocations: 140.3 kB / 0.8491 GB, free: 2.574 MB / 0.6075 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.00134/0.745, allocations: 1.33 MB / 0.8504 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005197/0.7456, allocations: 329.3 kB / 0.8507 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/0.7456, allocations: 0 / 0.8507 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002181/0.7458, allocations: 167.7 kB / 0.8509 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001505/0.7473, allocations: 360.8 kB / 0.8512 GB, free: 0.7773 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005163/0.7525, allocations: 4.391 MB / 0.8555 GB, free: 12.17 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.7529, allocations: 0.8901 MB / 0.8564 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0004401/0.7534, allocations: 136.6 kB / 0.8565 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002289/0.7536, allocations: 167.4 kB / 0.8567 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of SimCode: time 6.31e-07/0.7536, allocations: 0 / 0.8567 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03541/0.7891, allocations: 15.5 MB / 0.8718 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.18/8.969, allocations: 15.66 kB / 0.8718 GB, free: 11.71 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeMassFlow.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeMassFlow.pipe 2>&1)