Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.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.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Examples.Performance.Example5,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5",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.0007812/0.0007813, allocations: 91.84 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.0008651/0.0008652, 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.342/1.342, 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 0.9303/0.9303, allocations: 135.3 MB / 426.4 MB, free: 14.37 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003364, allocations: 13 kB / 0.5071 GB, free: 5.164 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1441/0.1445, allocations: 82.32 MB / 0.5875 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.0005421/0.145, allocations: 242.9 kB / 0.5877 GB, free: 2.785 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001563/0.1452, allocations: 43.89 kB / 0.5877 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.63e-05/0.1453, allocations: 0 / 0.5877 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.081e-05/0.1453, allocations: 0 / 0.5877 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.784e-05/0.1454, allocations: 0 / 0.5877 GB, free: 2.742 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.524e-05/0.1455, allocations: 15.86 kB / 0.5878 GB, free: 2.727 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.872e-05/0.1455, allocations: 4 kB / 0.5878 GB, free: 2.723 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.1455, allocations: 7.984 kB / 0.5878 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.953e-05/0.1456, allocations: 4 kB / 0.5878 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.169e-05/0.1457, allocations: 11.94 kB / 0.5878 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.1457, allocations: 0 / 0.5878 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.585e-06/0.1457, allocations: 0 / 0.5878 GB, free: 2.699 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.506e-05/0.1457, allocations: 3.984 kB / 0.5878 GB, free: 2.695 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.245e-05/0.1457, allocations: 29.7 kB / 0.5878 GB, free: 2.66 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 2.896e-05/0.1458, allocations: 0 / 0.5878 GB, free: 2.66 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.1458, allocations: 0 / 0.5878 GB, free: 2.66 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.1458, allocations: 4 kB / 0.5878 GB, free: 2.656 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.935e-06/0.1458, allocations: 0 / 0.5878 GB, free: 2.656 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003387/0.1461, allocations: 335.3 kB / 0.5881 GB, free: 2.281 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.48e-05/0.1462, allocations: 8.031 kB / 0.5881 GB, free: 2.273 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.079e-05/0.1462, allocations: 30.56 kB / 0.5882 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.98e-05/0.1463, allocations: 4 kB / 0.5882 GB, free: 2.23 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000152/0.1464, allocations: 179.2 kB / 0.5883 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.553e-06/0.1464, allocations: 0 / 0.5883 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.21e-05/0.1464, allocations: 0 / 0.5883 GB, free: 2.016 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.443e-05/0.1465, allocations: 37.69 kB / 0.5884 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.1465, allocations: 0 / 0.5884 GB, free: 1.973 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.081e-06/0.1465, allocations: 4 kB / 0.5884 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.1465, allocations: 0 / 0.5884 GB, free: 1.969 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.939e-05/0.1466, allocations: 7.984 kB / 0.5884 GB, free: 1.961 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001434/0.1467, allocations: 157.7 kB / 0.5885 GB, free: 1.758 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.104e-05/0.1468, allocations: 26.5 kB / 0.5886 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.593e-05/0.1468, allocations: 4.859 kB / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.092e-05/0.1468, allocations: 0 / 0.5886 GB, free: 1.715 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.611e-05/0.1468, allocations: 38.62 kB / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1468, allocations: 0 / 0.5886 GB, free: 1.668 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001137/0.147, allocations: 41.59 kB / 0.5887 GB, free: 1.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.981e-05/0.147, allocations: 55.39 kB / 0.5887 GB, free: 1.555 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.515e-05/0.1471, allocations: 109.8 kB / 0.5888 GB, free: 1.438 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.1471, allocations: 29.7 kB / 0.5888 GB, free: 1.402 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.1471, allocations: 88.02 kB / 0.5889 GB, free: 1.312 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/0.1472, allocations: 3.938 kB / 0.5889 GB, free: 1.309 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.444e-06/0.1472, allocations: 4.125 kB / 0.5889 GB, free: 1.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.244e-05/0.1473, allocations: 322.8 kB / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.181e-05/0.1473, allocations: 0 / 0.5892 GB, free: 0.9805 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.539e-05/0.1473, allocations: 17.7 kB / 0.5893 GB, free: 0.957 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.946e-05/0.1473, allocations: 4 kB / 0.5893 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.1473, allocations: 0 / 0.5893 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.204e-05/0.1474, allocations: 57.59 kB / 0.5893 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.1474, allocations: 8 kB / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.1475, allocations: 0 / 0.5893 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.866e-06/0.1475, allocations: 3.984 kB / 0.5893 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.706e-05/0.1475, allocations: 7.984 kB / 0.5893 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.1475, allocations: 0 / 0.5893 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.1476, allocations: 0 / 0.5893 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.314e-06/0.1476, allocations: 4 kB / 0.5893 GB, free: 0.8672 MB / 494.1 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.993e-05/0.1476, allocations: 109.8 kB / 0.5894 GB, free: 0.75 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.1477, allocations: 8.062 kB / 0.5894 GB, free: 0.7422 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.268e-05/0.1478, allocations: 52.73 kB / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.1478, allocations: 0 / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1478, allocations: 0 / 0.5895 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1478, allocations: 4 kB / 0.5895 GB, free: 0.6797 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.634e-05/0.1479, allocations: 157.6 kB / 0.5897 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.1479, allocations: 0 / 0.5897 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.692e-05/0.1479, allocations: 4 kB / 0.5897 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.148, allocations: 0 / 0.5897 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.148, allocations: 0 / 0.5897 GB, free: 484 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.148, allocations: 4.031 kB / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.148, allocations: 0 / 0.5897 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.1481, allocations: 81.14 kB / 0.5897 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.678e-05/0.1481, allocations: 84.97 kB / 0.5898 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.262e-05/0.1482, allocations: 0 / 0.5898 GB, free: 276 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.854e-05/0.1482, allocations: 4 kB / 0.5898 GB, free: 272 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.433e-05/0.1482, allocations: 4 kB / 0.5898 GB, free: 268 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.1482, allocations: 12.27 kB / 0.5898 GB, free: 256 kB / 494.1 MB Notification: Performance of sorting global known variables: time 4.417e-05/0.1483, allocations: 83.28 kB / 0.5899 GB, free: 172 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1483, allocations: 3.938 kB / 0.5899 GB, free: 168 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000184/0.1485, allocations: 8 kB / 0.5899 GB, free: 160 kB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (c) * 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 (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.0003461/0.1488, allocations: 0.6087 MB / 0.5905 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.508e-05/0.1489, allocations: 19.92 kB / 0.5905 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.1489, allocations: 3.938 kB / 0.5905 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.564e-05/0.1489, allocations: 8 kB / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001317/0.1491, allocations: 0 / 0.5906 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004857/0.1496, allocations: 379.6 kB / 0.5909 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002156/0.1498, allocations: 0.6809 MB / 0.5916 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.615e-05/0.1498, allocations: 4 kB / 0.5916 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.053e-05/0.1498, allocations: 11.44 kB / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1499, allocations: 0 / 0.5916 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.00985/0.1597, allocations: 0.9812 MB / 0.5926 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001546/0.1599, allocations: 163.8 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.771, allocations: 3.375 kB / 0.5927 GB, free: 13.25 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Examples_Performance_Example5.fmu > IDEAS_dev_IDEAS.Fluid.Examples.Performance.Example5.pipe 2>&1) Environment - environmentSimulation: