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.001194/0.001194, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001169/0.001169, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.333/1.333, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9308/0.9308, allocations: 135.1 MB / 425.5 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 72.11 kB / 0.5054 GB, free: 5.211 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1409/0.1421, allocations: 80.93 MB / 0.5845 GB, free: 4.438 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001649/0.1438, allocations: 0.4984 MB / 0.585 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000156/0.144, allocations: 39.86 kB / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.392e-05/0.144, allocations: 0 / 0.585 GB, free: 3.895 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.387e-05/0.1441, allocations: 4 kB / 0.585 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001049/0.1442, allocations: 7.938 kB / 0.585 GB, free: 3.883 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.844e-05/0.1442, allocations: 7.984 kB / 0.585 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.49e-05/0.1443, allocations: 8 kB / 0.585 GB, free: 3.867 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.341e-05/0.1443, allocations: 11.98 kB / 0.585 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.26e-05/0.1444, allocations: 3.938 kB / 0.585 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.455e-05/0.1445, allocations: 11.92 kB / 0.5851 GB, free: 3.84 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.364e-05/0.1445, allocations: 4 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.522e-06/0.1445, allocations: 3.938 kB / 0.5851 GB, free: 3.832 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.719e-05/0.1445, allocations: 4 kB / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.467e-05/0.1446, allocations: 11.92 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 4.718e-05/0.1446, allocations: 15.92 kB / 0.5851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1446, allocations: 0 / 0.5851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.1446, allocations: 0 / 0.5851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.1446, allocations: 0 / 0.5851 GB, free: 3.801 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.0003618/0.145, allocations: 327.5 kB / 0.5854 GB, free: 3.434 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/0.145, allocations: 12.03 kB / 0.5854 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.471e-05/0.1451, allocations: 30.75 kB / 0.5854 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.85e-05/0.1451, allocations: 0.9375 kB / 0.5854 GB, free: 3.383 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/0.1453, allocations: 176.5 kB / 0.5856 GB, free: 3.172 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.1453, allocations: 16.36 kB / 0.5856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.562e-05/0.1453, allocations: 384 / 0.5856 GB, free: 3.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.955e-05/0.1454, allocations: 33.64 kB / 0.5857 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.034e-06/0.1454, allocations: 0 / 0.5857 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.831e-06/0.1454, allocations: 3.938 kB / 0.5857 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.1454, allocations: 0 / 0.5857 GB, free: 3.113 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.871e-05/0.1454, allocations: 11.98 kB / 0.5857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001295/0.1456, allocations: 149.7 kB / 0.5858 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.073e-05/0.1456, allocations: 22.58 kB / 0.5858 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.816e-05/0.1456, allocations: 8.922 kB / 0.5859 GB, free: 2.863 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.209e-05/0.1456, allocations: 3.938 kB / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.1457, allocations: 30.56 kB / 0.5859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.1457, allocations: 0 / 0.5859 GB, free: 2.82 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001196/0.1458, allocations: 49.61 kB / 0.5859 GB, free: 2.766 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.829e-05/0.1458, allocations: 51.41 kB / 0.586 GB, free: 2.703 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.1459, allocations: 110 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1459, allocations: 29.7 kB / 0.5861 GB, free: 2.551 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.097e-05/0.146, allocations: 84.14 kB / 0.5862 GB, free: 2.465 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.857e-05/0.146, allocations: 3.906 kB / 0.5862 GB, free: 2.461 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.755e-05/0.146, allocations: 13.72 kB / 0.5862 GB, free: 2.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1461, allocations: 314.8 kB / 0.5865 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.651e-05/0.1462, allocations: 7.984 kB / 0.5865 GB, free: 2.117 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.1462, allocations: 17.72 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.094e-05/0.1462, allocations: 29.64 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.936e-06/0.1462, allocations: 0 / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 7.218e-05/0.1463, allocations: 53.5 kB / 0.5866 GB, free: 2 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.1463, allocations: 4 kB / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.606e-06/0.1463, allocations: 0 / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1463, allocations: 0 / 0.5866 GB, free: 1.996 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.1464, allocations: 4.125 kB / 0.5866 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.1464, allocations: 7.938 kB / 0.5866 GB, free: 1.984 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.464e-05/0.1465, allocations: 4 kB / 0.5866 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.869e-06/0.1465, allocations: 0 / 0.5866 GB, free: 1.98 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.507e-05/0.1465, allocations: 117.8 kB / 0.5867 GB, free: 1.855 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.808e-06/0.1465, allocations: 3.938 kB / 0.5867 GB, free: 1.852 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.561e-05/0.1466, allocations: 44.81 kB / 0.5868 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.068e-06/0.1466, allocations: 4 kB / 0.5868 GB, free: 1.797 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.005e-06/0.1467, allocations: 3.969 kB / 0.5868 GB, free: 1.793 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.883e-06/0.1467, allocations: 4 kB / 0.5868 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.197e-05/0.1468, allocations: 149.7 kB / 0.5869 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-06/0.1468, allocations: 3.938 kB / 0.587 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.714e-05/0.1468, allocations: 7.984 kB / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1468, allocations: 0 / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.1468, allocations: 256 / 0.587 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.156e-06/0.1468, allocations: 4 kB / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1469, allocations: 0 / 0.587 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.147, allocations: 85.03 kB / 0.587 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.8e-05/0.147, allocations: 85.03 kB / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.147, allocations: 0 / 0.5871 GB, free: 1.375 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.427e-05/0.1471, allocations: 4.031 kB / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.061e-05/0.1471, allocations: 0 / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.1471, allocations: 0 / 0.5871 GB, free: 1.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.337e-05/0.1471, allocations: 91.27 kB / 0.5872 GB, free: 1.281 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1471, allocations: 3.938 kB / 0.5872 GB, free: 1.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001927/0.1473, allocations: 0 / 0.5872 GB, free: 1.277 MB / 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 (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.0003246/0.1477, allocations: 0.6125 MB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.255e-05/0.1477, allocations: 19.92 kB / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1478, allocations: 0 / 0.5878 GB, free: 0.6133 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.342e-05/0.1478, allocations: 4.219 kB / 0.5878 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1479, allocations: 10.41 kB / 0.5878 GB, free: 0.6016 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008277/0.1487, allocations: 1.154 MB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.149, allocations: 0.6768 MB / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.267e-05/0.149, allocations: 0 / 0.5896 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.097e-05/0.149, allocations: 11.44 kB / 0.5896 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.149, allocations: 3.938 kB / 0.5897 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4172/0.5662, allocations: 1.153 MB / 0.5908 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.17/10.73, allocations: 14.3 kB / 0.5908 GB, free: 13.55 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/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)