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.001575/0.001575, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001146/0.001146, allocations: 195 kB / 16.14 MB, free: 6.734 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8301/0.8301, allocations: 135.1 MB / 425.1 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001135, allocations: 60.09 kB / 0.5048 GB, free: 5.633 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1227/0.1239, allocations: 80.92 MB / 0.5838 GB, free: 4.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example5): time 0.001523/0.1255, allocations: 0.5759 MB / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001369/0.1256, allocations: 39.81 kB / 0.5844 GB, free: 4.254 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.1257, allocations: 4 kB / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.432e-05/0.1257, allocations: 0 / 0.5844 GB, free: 4.25 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.556e-05/0.1258, allocations: 3.938 kB / 0.5844 GB, free: 4.246 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.206e-05/0.1258, allocations: 3.984 kB / 0.5844 GB, free: 4.242 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.563e-05/0.1259, allocations: 16 kB / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.1259, allocations: 0 / 0.5844 GB, free: 4.227 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.99e-05/0.126, allocations: 7.922 kB / 0.5844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.234e-05/0.126, allocations: 7.984 kB / 0.5845 GB, free: 4.211 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.126, allocations: 4 kB / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.422e-06/0.126, allocations: 0 / 0.5845 GB, free: 4.207 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.358e-05/0.1261, allocations: 3.938 kB / 0.5845 GB, free: 4.203 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.1261, allocations: 11.98 kB / 0.5845 GB, free: 4.191 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.921e-05/0.1262, allocations: 11.94 kB / 0.5845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.945e-06/0.1262, allocations: 0 / 0.5845 GB, free: 4.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.22e-07/0.1262, allocations: 4 kB / 0.5845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.515e-06/0.1262, allocations: 0 / 0.5845 GB, free: 4.176 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.0003263/0.1265, allocations: 323.5 kB / 0.5848 GB, free: 3.812 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.1266, allocations: 12.03 kB / 0.5848 GB, free: 3.801 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.431e-05/0.1266, allocations: 30.75 kB / 0.5848 GB, free: 3.762 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.1266, allocations: 8.875 kB / 0.5848 GB, free: 3.754 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.1268, allocations: 176.5 kB / 0.585 GB, free: 3.543 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.721e-06/0.1268, allocations: 4.359 kB / 0.585 GB, free: 3.539 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.1268, allocations: 4.375 kB / 0.585 GB, free: 3.535 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.295e-05/0.1269, allocations: 37.64 kB / 0.5851 GB, free: 3.492 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.799e-06/0.1269, allocations: 3.938 kB / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.33e-06/0.1269, allocations: 0 / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.076e-06/0.1269, allocations: 0 / 0.5851 GB, free: 3.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.592e-05/0.1269, allocations: 3.984 kB / 0.5851 GB, free: 3.484 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001227/0.127, allocations: 153.7 kB / 0.5852 GB, free: 3.285 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.656e-05/0.1271, allocations: 18.61 kB / 0.5852 GB, free: 3.258 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.657e-05/0.1271, allocations: 8.922 kB / 0.5852 GB, free: 3.246 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.1271, allocations: 11.94 kB / 0.5852 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.821e-05/0.1271, allocations: 34.56 kB / 0.5853 GB, free: 3.191 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.886e-06/0.1271, allocations: 0 / 0.5853 GB, free: 3.191 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001076/0.1273, allocations: 49.61 kB / 0.5853 GB, free: 3.137 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.428e-05/0.1273, allocations: 51.41 kB / 0.5854 GB, free: 3.074 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.621e-05/0.1274, allocations: 109.8 kB / 0.5855 GB, free: 2.957 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.1274, allocations: 25.7 kB / 0.5855 GB, free: 2.926 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.849e-05/0.1274, allocations: 92.27 kB / 0.5856 GB, free: 2.832 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.438e-05/0.1274, allocations: 3.906 kB / 0.5856 GB, free: 2.828 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.781e-05/0.1275, allocations: 17.72 kB / 0.5856 GB, free: 2.805 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.589e-05/0.1276, allocations: 314.8 kB / 0.5859 GB, free: 2.488 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.536e-05/0.1276, allocations: 7.984 kB / 0.5859 GB, free: 2.48 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.903e-05/0.1276, allocations: 13.72 kB / 0.5859 GB, free: 2.461 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.583e-05/0.1277, allocations: 25.7 kB / 0.586 GB, free: 2.43 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1277, allocations: 4 kB / 0.586 GB, free: 2.426 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.859e-05/0.1277, allocations: 53.56 kB / 0.586 GB, free: 2.367 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.1278, allocations: 6.188 kB / 0.586 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.865e-06/0.1278, allocations: 0 / 0.586 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.466e-06/0.1278, allocations: 0 / 0.586 GB, free: 2.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.004e-05/0.1278, allocations: 4 kB / 0.586 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.767e-06/0.1278, allocations: 0 / 0.586 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.354e-05/0.1279, allocations: 4 kB / 0.586 GB, free: 2.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.1279, allocations: 4.062 kB / 0.586 GB, free: 2.352 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.169e-05/0.1279, allocations: 109.8 kB / 0.5861 GB, free: 2.234 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.736e-06/0.128, allocations: 7.938 kB / 0.5861 GB, free: 2.227 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.042e-05/0.128, allocations: 48.75 kB / 0.5862 GB, free: 2.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1281, allocations: 4 kB / 0.5862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.575e-06/0.1281, allocations: 0 / 0.5862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.1281, allocations: 0 / 0.5862 GB, free: 2.168 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.349e-05/0.1282, allocations: 153.7 kB / 0.5863 GB, free: 1.969 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.1282, allocations: 11.91 kB / 0.5864 GB, free: 1.957 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.281e-05/0.1282, allocations: 7.984 kB / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1282, allocations: 0 / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.791e-06/0.1282, allocations: 0 / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1282, allocations: 0 / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1282, allocations: 0 / 0.5864 GB, free: 1.949 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.1284, allocations: 85.02 kB / 0.5864 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.852e-05/0.1284, allocations: 85.03 kB / 0.5865 GB, free: 1.746 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.047e-05/0.1284, allocations: 4.094 kB / 0.5865 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.034e-05/0.1284, allocations: 288 / 0.5865 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.043e-05/0.1285, allocations: 4 kB / 0.5865 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.759e-06/0.1285, allocations: 7.938 kB / 0.5865 GB, free: 1.73 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.253e-05/0.1285, allocations: 95.2 kB / 0.5866 GB, free: 1.637 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1285, allocations: 0 / 0.5866 GB, free: 1.637 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001693/0.1287, allocations: 0 / 0.5866 GB, free: 1.637 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.0003158/0.129, allocations: 0.6125 MB / 0.5872 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.407e-05/0.1291, allocations: 15.94 kB / 0.5872 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.1291, allocations: 0 / 0.5872 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.362e-05/0.1291, allocations: 7.984 kB / 0.5873 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001206/0.1292, allocations: 0 / 0.5873 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008173/0.1301, allocations: 1.151 MB / 0.5884 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000203/0.1303, allocations: 0.6771 MB / 0.589 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.433e-05/0.1303, allocations: 4 kB / 0.589 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.611e-05/0.1303, allocations: 11.44 kB / 0.5891 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of SimCode: time 2.31e-07/0.1303, allocations: 0 / 0.5891 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/0.2985, allocations: 1.045 MB / 0.5901 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000169/0.2987, allocations: 186.2 kB / 0.5902 GB, free: 13.81 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.649/1.948, allocations: 3.938 kB / 0.5903 GB, free: 13.8 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)