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.005621/0.005621, allocations: 102.7 kB / 15.73 MB, free: 6.031 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.001395/0.001395, allocations: 190.1 kB / 16.67 MB, free: 5.953 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.301/1.301, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7992/0.7992, allocations: 135.1 MB / 425.7 MB, free: 4.102 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 63 kB / 0.5851 GB, free: 21.94 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1435, allocations: 80.93 MB / 0.6641 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001582/0.1451, allocations: 0.4976 MB / 0.6646 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001385/0.1453, allocations: 19.91 kB / 0.6646 GB, free: 5.789 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.1453, allocations: 4 kB / 0.6646 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.202e-05/0.1453, allocations: 3.938 kB / 0.6646 GB, free: 5.781 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001316/0.1455, allocations: 11.92 kB / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 3.316e-06/0.1455, allocations: 0 / 0.6647 GB, free: 5.77 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.722e-05/0.1456, allocations: 3.938 kB / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.1456, allocations: 0 / 0.6647 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.615e-05/0.1456, allocations: 4 kB / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.539e-05/0.1457, allocations: 0 / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.1457, allocations: 0 / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.61e-06/0.1457, allocations: 0 / 0.6647 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.128e-05/0.1457, allocations: 4 kB / 0.6647 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.438e-05/0.1457, allocations: 0 / 0.6647 GB, free: 5.758 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 5.216e-05/0.1458, allocations: 15.92 kB / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1458, allocations: 0 / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1458, allocations: 0 / 0.6647 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.1458, allocations: 0 / 0.6647 GB, free: 5.742 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.0002532/0.1461, allocations: 315.6 kB / 0.665 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.1461, allocations: 9.109 kB / 0.665 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.231e-05/0.1462, allocations: 30.75 kB / 0.665 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.313e-05/0.1462, allocations: 0.9375 kB / 0.665 GB, free: 5.34 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.378e-05/0.1463, allocations: 176.3 kB / 0.6652 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.1463, allocations: 384 / 0.6652 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-06/0.1463, allocations: 4.125 kB / 0.6652 GB, free: 5.125 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001087/0.1464, allocations: 47.41 kB / 0.6652 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.1464, allocations: 0 / 0.6652 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.1465, allocations: 0 / 0.6652 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1465, allocations: 0 / 0.6652 GB, free: 5.066 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.58e-05/0.1465, allocations: 7.938 kB / 0.6653 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001481/0.1466, allocations: 158.5 kB / 0.6654 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 5.725e-05/0.1467, allocations: 35.81 kB / 0.6654 GB, free: 4.801 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.234e-05/0.1467, allocations: 17.78 kB / 0.6655 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.577e-05/0.1468, allocations: 4 kB / 0.6655 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.526e-05/0.1468, allocations: 38.84 kB / 0.6655 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 8.81e-07/0.1468, allocations: 0 / 0.6655 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0001406/0.147, allocations: 45.62 kB / 0.6655 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.147, allocations: 81.11 kB / 0.6656 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.055e-05/0.1471, allocations: 89.86 kB / 0.6657 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.1471, allocations: 25.7 kB / 0.6657 GB, free: 4.449 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.39e-05/0.1471, allocations: 80.14 kB / 0.6658 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.864e-05/0.1471, allocations: 10.97 kB / 0.6658 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.743e-05/0.1472, allocations: 13.72 kB / 0.6658 GB, free: 4.34 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.1473, allocations: 318.8 kB / 0.6661 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.267e-05/0.1473, allocations: 4 kB / 0.6661 GB, free: 4.016 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.439e-05/0.1473, allocations: 13.66 kB / 0.6661 GB, free: 3.996 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.874e-05/0.1474, allocations: 21.66 kB / 0.6662 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.1474, allocations: 4.062 kB / 0.6662 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.741e-05/0.1475, allocations: 45.62 kB / 0.6662 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/0.1475, allocations: 7.938 kB / 0.6662 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.346e-06/0.1475, allocations: 4 kB / 0.6662 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1475, allocations: 4 kB / 0.6662 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.752e-05/0.1476, allocations: 0 / 0.6662 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.526e-06/0.1476, allocations: 7.938 kB / 0.6662 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.705e-05/0.1476, allocations: 0 / 0.6662 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1476, allocations: 0 / 0.6662 GB, free: 3.891 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 7.322e-05/0.1477, allocations: 117.9 kB / 0.6664 GB, free: 3.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.131e-05/0.1477, allocations: 3.938 kB / 0.6664 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001061/0.1478, allocations: 48.75 kB / 0.6664 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.684e-06/0.1478, allocations: 0 / 0.6664 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.1478, allocations: 3.984 kB / 0.6664 GB, free: 3.699 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1479, allocations: 4 kB / 0.6664 GB, free: 3.695 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/0.148, allocations: 145.7 kB / 0.6665 GB, free: 3.504 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.148, allocations: 3.938 kB / 0.6666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.473e-05/0.148, allocations: 8.062 kB / 0.6666 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.148, allocations: 0 / 0.6666 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.148, allocations: 0 / 0.6666 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.398e-06/0.148, allocations: 7.984 kB / 0.6666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.148, allocations: 0 / 0.6666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.686e-05/0.1481, allocations: 65.94 kB / 0.6666 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.1482, allocations: 85.08 kB / 0.6667 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.308e-05/0.1482, allocations: 7.984 kB / 0.6667 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.465e-05/0.1482, allocations: 0 / 0.6667 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.138e-05/0.1482, allocations: 0 / 0.6667 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/0.1482, allocations: 0 / 0.6667 GB, free: 3.289 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.608e-05/0.1482, allocations: 75.28 kB / 0.6668 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1483, allocations: 4 kB / 0.6668 GB, free: 3.211 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001746/0.1484, allocations: 4 kB / 0.6668 GB, free: 3.207 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.0003456/0.1488, allocations: 0.6029 MB / 0.6674 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.649e-05/0.1489, allocations: 7.938 kB / 0.6674 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.1489, allocations: 0 / 0.6674 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.1489, allocations: 8.219 kB / 0.6674 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001348/0.149, allocations: 15.98 kB / 0.6674 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.1494, allocations: 119.3 kB / 0.6675 GB, free: 2.379 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.1496, allocations: 0.6806 MB / 0.6682 GB, free: 1.672 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.019e-05/0.1496, allocations: 3.938 kB / 0.6682 GB, free: 1.668 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/0.1497, allocations: 7.438 kB / 0.6682 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.1497, allocations: 4 kB / 0.6682 GB, free: 1.656 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01832/0.168, allocations: 0.9202 MB / 0.6691 GB, free: 0.8008 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.283/7.451, allocations: 6.562 kB / 0.6691 GB, free: 0.7969 MB / 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)