Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.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.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass,fileNamePrefix="IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass",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.01353/0.01353, allocations: 103.6 kB / 15.73 MB, free: 6.047 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.002707/0.002707, allocations: 188 kB / 16.67 MB, free: 5.969 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.568/1.568, 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.8746/0.8746, allocations: 132.2 MB / 422.7 MB, free: 6.555 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001313, allocations: 66.8 kB / 0.5809 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2143, allocations: 80.21 MB / 0.6592 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass): time 0.9125/1.127, allocations: 177.1 MB / 0.8321 GB, free: 14.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009422/1.136, allocations: 4.399 MB / 0.8364 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001466/1.138, allocations: 29.25 kB / 0.8365 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001164/1.139, allocations: 358.1 kB / 0.8368 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003811/1.143, allocations: 1.244 MB / 0.838 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002557/1.145, allocations: 0.6934 MB / 0.8387 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.00271/1.148, allocations: 1.614 MB / 0.8403 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008453/1.149, allocations: 0.5295 MB / 0.8408 GB, free: 7.523 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/1.151, allocations: 0.696 MB / 0.8415 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/1.152, allocations: 0.4886 MB / 0.842 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.342e-05/1.152, allocations: 53.56 kB / 0.842 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002828/1.155, allocations: 1.29 MB / 0.8433 GB, free: 6.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002911/1.155, allocations: 234 kB / 0.8435 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000452/1.155, allocations: 348.3 kB / 0.8438 GB, free: 5.719 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002744/1.158, allocations: 1.283 MB / 0.8451 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.295e-06/1.158, allocations: 4 kB / 0.8451 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.403e-06/1.158, allocations: 0 / 0.8451 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.213e-05/1.158, allocations: 0 / 0.8451 GB, free: 4.91 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.001718/1.16, allocations: 1.005 MB / 0.8461 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/1.16, allocations: 13.84 kB / 0.8461 GB, free: 4.09 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001117/1.16, allocations: 85.8 kB / 0.8462 GB, free: 4.012 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/1.161, allocations: 175.9 kB / 0.8463 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009264/1.162, allocations: 0.5527 MB / 0.8469 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.562e-05/1.162, allocations: 33.91 kB / 0.8469 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.499e-05/1.162, allocations: 46.47 kB / 0.8469 GB, free: 3.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008026/1.163, allocations: 468.6 kB / 0.8474 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/1.163, allocations: 2.906 kB / 0.8474 GB, free: 3.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.77e-05/1.163, allocations: 19.17 kB / 0.8474 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.789e-05/1.163, allocations: 15.53 kB / 0.8474 GB, free: 3.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007251/1.164, allocations: 417 kB / 0.8478 GB, free: 2.957 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.002833/1.167, allocations: 2.025 MB / 0.8498 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005032/1.167, allocations: 281.4 kB / 0.8501 GB, free: 1.066 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/1.168, allocations: 187 kB / 0.8502 GB, free: 0.9766 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003236/1.168, allocations: 199.3 kB / 0.8504 GB, free: 0.7695 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/1.168, allocations: 32.72 kB / 0.8505 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=30): time 4.278e-06/1.168, allocations: 0 / 0.8505 GB, free: 0.7305 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30): time 0.001659/1.17, allocations: 0.6491 MB / 0.8511 GB, free: 344 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.604e-05/1.17, allocations: 54.19 kB / 0.8511 GB, free: 280 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005637/1.17, allocations: 444.5 kB / 0.8516 GB, free: 0 / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.308e-05/1.17, allocations: 31.52 kB / 0.8516 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002331/1.171, allocations: 289.5 kB / 0.8519 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 9.524e-05/1.171, allocations: 99.06 kB / 0.852 GB, free: 15.62 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/1.171, allocations: 64.98 kB / 0.852 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001675/1.171, allocations: 359.6 kB / 0.8524 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/1.171, allocations: 131.4 kB / 0.8525 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/1.172, allocations: 210.4 kB / 0.8527 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005554/1.172, allocations: 337.4 kB / 0.853 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/1.172, allocations: 3.938 kB / 0.853 GB, free: 14.81 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0007133/1.173, allocations: 400.8 kB / 0.8534 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/1.173, allocations: 5.469 kB / 0.8534 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/1.173, allocations: 6.438 kB / 0.8534 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.902e-05/1.173, allocations: 2.469 kB / 0.8534 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000364/1.173, allocations: 69.14 kB / 0.8535 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.214e-05/1.173, allocations: 2.438 kB / 0.8535 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004693/1.174, allocations: 42.27 kB / 0.8535 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/1.174, allocations: 10.62 kB / 0.8535 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004197/1.174, allocations: 290 kB / 0.8538 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000348/1.175, allocations: 209.7 kB / 0.854 GB, free: 14.21 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006107/1.175, allocations: 329.2 kB / 0.8543 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.344e-06/1.175, allocations: 0 / 0.8543 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of matching and sorting (n=37) (initialization_lambda0): time 0.0007417/1.176, allocations: 400.8 kB / 0.8547 GB, free: 13.47 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/1.176, allocations: 9.719 kB / 0.8547 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-06/1.176, allocations: 4 kB / 0.8547 GB, free: 13.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.793e-06/1.176, allocations: 4 kB / 0.8547 GB, free: 13.45 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003131/1.177, allocations: 63.91 kB / 0.8548 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/1.177, allocations: 4 kB / 0.8548 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004674/1.177, allocations: 31.83 kB / 0.8548 GB, free: 13.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.306e-05/1.177, allocations: 15.97 kB / 0.8548 GB, free: 13.34 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (37): * Single equations (assignments): 37 * 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.0001639/1.177, allocations: 204.1 kB / 0.855 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.233e-05/1.177, allocations: 51.44 kB / 0.8551 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008321/1.178, allocations: 411.1 kB / 0.8555 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.242e-06/1.178, allocations: 7.938 kB / 0.8555 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.873e-06/1.178, allocations: 3.938 kB / 0.8555 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007098/1.179, allocations: 454.3 kB / 0.8559 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001859/1.181, allocations: 1.125 MB / 0.857 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.181, allocations: 7.984 kB / 0.857 GB, free: 10.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003226/1.181, allocations: 55.97 kB / 0.8571 GB, free: 10.91 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/1.181, allocations: 48.77 kB / 0.8571 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.214e-05/1.181, allocations: 11.78 kB / 0.8571 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001419/1.183, allocations: 1.544 MB / 0.8587 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/1.183, allocations: 0 / 0.8587 GB, free: 9.176 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001161/1.184, allocations: 0.7242 MB / 0.8594 GB, free: 8.41 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002521/1.184, allocations: 164.4 kB / 0.8595 GB, free: 8.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.682e-05/1.184, allocations: 8.141 kB / 0.8595 GB, free: 8.223 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004066/1.185, allocations: 19.97 kB / 0.8595 GB, free: 8.203 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.555e-05/1.185, allocations: 35.95 kB / 0.8596 GB, free: 8.168 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.597e-05/1.185, allocations: 8 kB / 0.8596 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003879/1.185, allocations: 314.8 kB / 0.8599 GB, free: 7.855 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/1.185, allocations: 4 kB / 0.8599 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001013/1.186, allocations: 295.3 kB / 0.8602 GB, free: 7.562 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001925/1.188, allocations: 1.338 MB / 0.8615 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001072/1.189, allocations: 499.6 kB / 0.862 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.608e-06/1.189, allocations: 0 / 0.862 GB, free: 5.695 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0005315/1.19, allocations: 291.5 kB / 0.8622 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001438/1.191, allocations: 309.8 kB / 0.8625 GB, free: 5.113 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006465/1.198, allocations: 4.148 MB / 0.8666 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006077/1.199, allocations: 0.8975 MB / 0.8675 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0005512/1.199, allocations: 160.3 kB / 0.8676 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/1.199, allocations: 187.4 kB / 0.8678 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of SimCode: time 8.21e-07/1.199, allocations: 4 kB / 0.8678 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05278/1.252, allocations: 14.99 MB / 0.8824 GB, free: 0.8477 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.18/16.43, allocations: 7.922 kB / 0.8824 GB, free: 0.8398 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; mkfifo IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe >> ../files/IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_MixingVolumes_Validation_MixingVolumeSteadyStateMass.fmu > IDEAS_IDEAS.Fluid.MixingVolumes.Validation.MixingVolumeSteadyStateMass.pipe 2>&1)