Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.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: "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume",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.0007705/0.0007705, allocations: 92 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.000817/0.0008171, 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.396/1.396, allocations: 223.3 MB / 240 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.3 MB / 426.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003517, allocations: 10.5 kB / 0.5071 GB, free: 5.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1627, allocations: 82.31 MB / 0.5875 GB, free: 3.008 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolume): time 0.5296/0.6923, allocations: 221.3 MB / 0.8036 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02011/0.7125, allocations: 14.92 MB / 0.8182 GB, free: 0.6133 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001906/0.7144, allocations: 67.5 kB / 0.8182 GB, free: 0.5469 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002256/0.7167, allocations: 0.7881 MB / 0.819 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.007934/0.7246, allocations: 2.849 MB / 0.8218 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004128/0.7288, allocations: 1.368 MB / 0.8231 GB, free: 11.54 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007557/0.7364, allocations: 6.222 MB / 0.8292 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002244/0.7386, allocations: 1.28 MB / 0.8304 GB, free: 4 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004834/0.7435, allocations: 2.163 MB / 0.8325 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002695/0.7462, allocations: 1.642 MB / 0.8342 GB, free: 184 kB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002374/0.7465, allocations: 84 kB / 0.8342 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003788/0.7502, allocations: 1.508 MB / 0.8357 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007487/0.751, allocations: 0.6659 MB / 0.8364 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0006474/0.7517, allocations: 440.6 kB / 0.8368 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002918/0.7546, allocations: 2.439 MB / 0.8392 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.077e-06/0.7546, allocations: 0 / 0.8392 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7546, allocations: 4 kB / 0.8392 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.715e-05/0.7547, allocations: 0 / 0.8392 GB, free: 11.04 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 363 * Number of variables: 363 Notification: Performance of Generate backend data structure: time 0.003559/0.7582, allocations: 2.13 MB / 0.8412 GB, free: 8.852 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.444e-05/0.7583, allocations: 12.03 kB / 0.8413 GB, free: 8.84 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002692/0.7585, allocations: 215.1 kB / 0.8415 GB, free: 8.621 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002731/0.7613, allocations: 0.5059 MB / 0.842 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00201/0.7633, allocations: 1.227 MB / 0.8432 GB, free: 6.832 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001585/0.7635, allocations: 178.2 kB / 0.8433 GB, free: 6.645 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001848/0.7637, allocations: 152 kB / 0.8435 GB, free: 6.496 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002774/0.7665, allocations: 1.741 MB / 0.8452 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.164e-05/0.7665, allocations: 0 / 0.8452 GB, free: 4.68 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001267/0.7666, allocations: 64 kB / 0.8452 GB, free: 4.617 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.895e-05/0.7667, allocations: 54.7 kB / 0.8453 GB, free: 4.562 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002386/0.7691, allocations: 1.384 MB / 0.8466 GB, free: 3.172 MB / 0.6544 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.009/0.7781, allocations: 8.185 MB / 0.8546 GB, free: 10.29 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.7796, allocations: 0.9059 MB / 0.8555 GB, free: 9.383 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008527/0.7805, allocations: 0.5405 MB / 0.856 GB, free: 8.844 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.7811, allocations: 344.5 kB / 0.8564 GB, free: 8.453 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.332e-05/0.7811, allocations: 51.45 kB / 0.8564 GB, free: 8.391 MB / 0.67 GB Notification: Performance of pre-optimization done (n=96): time 2.625e-06/0.7811, allocations: 0 / 0.8564 GB, free: 8.391 MB / 0.67 GB Notification: Performance of matching and sorting (n=102): time 0.006684/0.7878, allocations: 3.14 MB / 0.8595 GB, free: 5.203 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.049e-05/0.7879, allocations: 68.41 kB / 0.8595 GB, free: 5.125 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001539/0.7894, allocations: 1.254 MB / 0.8608 GB, free: 3.863 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.234e-05/0.7895, allocations: 49.7 kB / 0.8608 GB, free: 3.809 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005842/0.7901, allocations: 0.8055 MB / 0.8616 GB, free: 2.992 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002923/0.7904, allocations: 370.6 kB / 0.862 GB, free: 2.625 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.196e-05/0.7905, allocations: 20 kB / 0.862 GB, free: 2.605 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.7906, allocations: 357.9 kB / 0.8623 GB, free: 2.25 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007629/0.7914, allocations: 438.4 kB / 0.8627 GB, free: 1.82 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.7925, allocations: 0.8351 MB / 0.8636 GB, free: 0.8164 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009184/0.7934, allocations: 0.5573 MB / 0.8641 GB, free: 268 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.7934, allocations: 4 kB / 0.8641 GB, free: 264 kB / 0.67 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.3522/1.146, allocations: 1.398 MB / 0.8655 GB, free: 127.1 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001616/1.146, allocations: 362.5 kB / 0.8658 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.146, allocations: 8.875 kB / 0.8658 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.331e-05/1.146, allocations: 19.89 kB / 0.8658 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001073/1.147, allocations: 280.8 kB / 0.8661 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.192e-05/1.147, allocations: 20.67 kB / 0.8661 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001603/1.149, allocations: 164.1 kB / 0.8663 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.805e-05/1.149, allocations: 53.31 kB / 0.8663 GB, free: 126.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.886e-06/1.149, allocations: 4.125 kB / 0.8663 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001843/1.151, allocations: 1.226 MB / 0.8675 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.151, allocations: 11.91 kB / 0.8675 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.913e-05/1.151, allocations: 15.69 kB / 0.8676 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009708/1.152, allocations: 280.2 kB / 0.8678 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/1.152, allocations: 22.94 kB / 0.8678 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/1.153, allocations: 167.4 kB / 0.868 GB, free: 126.6 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.92e-05/1.153, allocations: 48.75 kB / 0.8681 GB, free: 126.6 MB / 0.67 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 4 (vol.regularFlow[1],vol.regularFlow[2],vol.inFlow[2],vol.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0007934/1.154, allocations: 0.507 MB / 0.8686 GB, free: 126.4 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000208/1.154, allocations: 168 kB / 0.8687 GB, free: 126.4 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001946/1.156, allocations: 1.164 MB / 0.8698 GB, free: 126.4 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.156, allocations: 10 kB / 0.8699 GB, free: 126.4 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/1.156, allocations: 5.562 kB / 0.8699 GB, free: 126.4 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001459/1.158, allocations: 1.087 MB / 0.8709 GB, free: 126.1 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004419/1.162, allocations: 2.793 MB / 0.8737 GB, free: 125.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.6e-06/1.162, allocations: 1.75 kB / 0.8737 GB, free: 125.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/1.163, allocations: 259.6 kB / 0.8739 GB, free: 125.7 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.137e-05/1.163, allocations: 7.094 kB / 0.8739 GB, free: 125.7 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.242e-05/1.163, allocations: 28.86 kB / 0.8739 GB, free: 125.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/1.163, allocations: 5.344 kB / 0.8739 GB, free: 125.7 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.609e-06/1.163, allocations: 9.281 kB / 0.8739 GB, free: 125.7 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002532/1.166, allocations: 1.834 MB / 0.8757 GB, free: 125.5 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005692/1.167, allocations: 338 kB / 0.8761 GB, free: 125.3 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001707/1.167, allocations: 25.78 kB / 0.8761 GB, free: 125.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001052/1.168, allocations: 141.4 kB / 0.8762 GB, free: 125.3 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/1.168, allocations: 66.33 kB / 0.8763 GB, free: 125.3 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.717e-05/1.168, allocations: 42.38 kB / 0.8763 GB, free: 125.3 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0009991/1.169, allocations: 0.8287 MB / 0.8771 GB, free: 125.2 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.3e-07/1.169, allocations: 0 / 0.8771 GB, free: 125.2 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001918/1.171, allocations: 0.7666 MB / 0.8779 GB, free: 125.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 9 (vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol.medium.Xi[1],vol.medium.T,vol.m,vol2.dynBal.U,vol2.dynBal.m,vol2.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 (102): * Single equations (assignments): 102 * 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.003108/1.174, allocations: 2.546 MB / 0.8804 GB, free: 124.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.00282/1.177, allocations: 1.739 MB / 0.8821 GB, free: 124.3 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/1.177, allocations: 2.125 kB / 0.8821 GB, free: 124.3 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007684/1.178, allocations: 0.5239 MB / 0.8826 GB, free: 124.3 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004341/1.182, allocations: 0.9818 MB / 0.8835 GB, free: 124.3 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.199, allocations: 10.36 MB / 0.8937 GB, free: 120.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001079/1.2, allocations: 1.441 MB / 0.8951 GB, free: 119.3 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.002363/1.203, allocations: 0.5521 MB / 0.8956 GB, free: 119.2 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008461/1.203, allocations: 0.6807 MB / 0.8963 GB, free: 119.2 MB / 0.67 GB Notification: Performance of SimCode: time 1.282e-06/1.203, allocations: 0 / 0.8963 GB, free: 119.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09196/1.295, allocations: 44.5 MB / 0.9397 GB, free: 92.52 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001377/1.296, allocations: 224.8 kB / 0.9399 GB, free: 92.28 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.109/4.405, allocations: 2.125 kB / 0.9399 GB, free: 92.28 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-09 IDEAS_dev_IDEAS_Fluid_MixingVolumes_Validation_MixingVolume.fmu > IDEAS_dev_IDEAS.Fluid.MixingVolumes.Validation.MixingVolume.pipe 2>&1) Environment - environmentSimulation: