Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.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.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example8,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8",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.005416/0.005416, allocations: 98.41 kB / 15.73 MB, free: 6.055 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.001346/0.001346, allocations: 196.5 kB / 16.68 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 15.13 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8215/0.8215, allocations: 135.6 MB / 426.1 MB, free: 3.664 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001878/0.001878, allocations: 71.56 kB / 0.5857 GB, free: 21.35 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1462, allocations: 81.01 MB / 0.6648 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001523/0.1478, allocations: 0.516 MB / 0.6653 GB, free: 5.117 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001158/0.1479, allocations: 19.97 kB / 0.6654 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.481e-05/0.148, allocations: 0 / 0.6654 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.148, allocations: 7.875 kB / 0.6654 GB, free: 5.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001159/0.1481, allocations: 3.984 kB / 0.6654 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.496e-06/0.1481, allocations: 0 / 0.6654 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.308e-05/0.1482, allocations: 4 kB / 0.6654 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.1482, allocations: 4 kB / 0.6654 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.546e-05/0.1482, allocations: 0 / 0.6654 GB, free: 5.078 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.492e-05/0.1483, allocations: 4 kB / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.129e-05/0.1483, allocations: 0 / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 4.999e-06/0.1483, allocations: 0 / 0.6654 GB, free: 5.074 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.183e-05/0.1483, allocations: 3.984 kB / 0.6654 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.174e-05/0.1483, allocations: 0 / 0.6654 GB, free: 5.07 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 4.098e-05/0.1484, allocations: 3.938 kB / 0.6654 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.442e-06/0.1484, allocations: 4 kB / 0.6654 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.216e-06/0.1484, allocations: 0 / 0.6654 GB, free: 5.062 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.611e-06/0.1484, allocations: 7.938 kB / 0.6654 GB, free: 5.055 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002903/0.1487, allocations: 313.6 kB / 0.6657 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.1488, allocations: 13.14 kB / 0.6657 GB, free: 4.691 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.1488, allocations: 30.75 kB / 0.6657 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.935e-05/0.1488, allocations: 0.9375 kB / 0.6657 GB, free: 4.652 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001016/0.1489, allocations: 160.7 kB / 0.6659 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.1489, allocations: 384 / 0.6659 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.149, allocations: 8.125 kB / 0.6659 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001114/0.1491, allocations: 51.41 kB / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.1491, allocations: 0 / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.031e-06/0.1491, allocations: 0 / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.1491, allocations: 0 / 0.666 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.379e-05/0.1491, allocations: 7.938 kB / 0.666 GB, free: 4.379 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001706/0.1493, allocations: 158.5 kB / 0.6661 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.947e-05/0.1494, allocations: 43.75 kB / 0.6662 GB, free: 4.113 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.578e-05/0.1494, allocations: 17.78 kB / 0.6662 GB, free: 4.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.847e-05/0.1494, allocations: 4 kB / 0.6662 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1495, allocations: 30.91 kB / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1495, allocations: 0 / 0.6662 GB, free: 4.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001294/0.1496, allocations: 45.62 kB / 0.6662 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.746e-05/0.1497, allocations: 85.36 kB / 0.6663 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.02e-05/0.1497, allocations: 89.86 kB / 0.6664 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1497, allocations: 29.64 kB / 0.6664 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.783e-05/0.1498, allocations: 80.14 kB / 0.6665 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.1498, allocations: 3.953 kB / 0.6665 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.859e-05/0.1498, allocations: 13.72 kB / 0.6665 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.15, allocations: 318.8 kB / 0.6668 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.458e-05/0.15, allocations: 0 / 0.6668 GB, free: 3.336 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.973e-05/0.15, allocations: 21.66 kB / 0.6669 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.114e-05/0.1501, allocations: 21.66 kB / 0.6669 GB, free: 3.281 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.37e-06/0.1501, allocations: 4 kB / 0.6669 GB, free: 3.277 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.631e-05/0.1502, allocations: 49.56 kB / 0.6669 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.1502, allocations: 4 kB / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1502, allocations: 0 / 0.6669 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.1502, allocations: 4.125 kB / 0.6669 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.221e-05/0.1503, allocations: 4 kB / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.1503, allocations: 0 / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.581e-05/0.1503, allocations: 0 / 0.6669 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.1503, allocations: 4 kB / 0.6669 GB, free: 3.207 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 8.042e-05/0.1504, allocations: 113.8 kB / 0.6671 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.335e-05/0.1504, allocations: 3.938 kB / 0.6671 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.1506, allocations: 56.75 kB / 0.6671 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.1506, allocations: 0 / 0.6671 GB, free: 3.016 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.583e-06/0.1506, allocations: 3.984 kB / 0.6671 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.1506, allocations: 0 / 0.6671 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001259/0.1507, allocations: 153.6 kB / 0.6673 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.1507, allocations: 3.938 kB / 0.6673 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.275e-05/0.1508, allocations: 4 kB / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1508, allocations: 0 / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.382e-06/0.1508, allocations: 0 / 0.6673 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.476e-06/0.1508, allocations: 3.984 kB / 0.6673 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.1508, allocations: 0 / 0.6673 GB, free: 2.801 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001132/0.1509, allocations: 74 kB / 0.6673 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.151, allocations: 81.05 kB / 0.6674 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.611e-05/0.151, allocations: 3.984 kB / 0.6674 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.09e-05/0.151, allocations: 0 / 0.6674 GB, free: 2.605 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.774e-05/0.1511, allocations: 4 kB / 0.6674 GB, free: 2.602 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.1511, allocations: 4 kB / 0.6674 GB, free: 2.598 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.1511, allocations: 79.31 kB / 0.6675 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1511, allocations: 0 / 0.6675 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003065/0.1514, allocations: 4 kB / 0.6675 GB, free: 2.516 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (2): * Single equations (assignments): 2 * 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.0004641/0.1519, allocations: 0.6015 MB / 0.6681 GB, free: 1.879 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.076e-05/0.152, allocations: 15.94 kB / 0.6681 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.152, allocations: 0 / 0.6681 GB, free: 1.863 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.152, allocations: 11.88 kB / 0.6681 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001403/0.1522, allocations: 9.547 kB / 0.6681 GB, free: 1.844 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/0.1525, allocations: 111.4 kB / 0.6682 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.1528, allocations: 0.6731 MB / 0.6689 GB, free: 0.9922 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.094e-05/0.1528, allocations: 8 kB / 0.6689 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.708e-05/0.1529, allocations: 7.438 kB / 0.6689 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of SimCode: time 2.81e-07/0.1529, allocations: 0 / 0.6689 GB, free: 0.9766 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/0.321, allocations: 0.914 MB / 0.6698 GB, free: 124 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.28/10.6, allocations: 2.75 kB / 0.6698 GB, free: 124 kB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8_fmu --startTime=0 --stopTime=50 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example8.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example8.pipe 2>&1)