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.0009763/0.0009764, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001018/0.001018, allocations: 195 kB / 16.14 MB, free: 6.715 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.223/1.223, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8211/0.8211, allocations: 135.1 MB / 425.1 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00114/0.00114, allocations: 63.73 kB / 0.5048 GB, free: 5.668 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.137, allocations: 80.93 MB / 0.5838 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Examples.Performance.Example8): time 0.001631/0.1386, allocations: 0.5719 MB / 0.5844 GB, free: 4.336 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001027/0.1387, allocations: 11.98 kB / 0.5844 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.86e-05/0.1388, allocations: 0 / 0.5844 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.762e-05/0.1388, allocations: 3.938 kB / 0.5844 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.1389, allocations: 7.984 kB / 0.5844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.775e-06/0.1389, allocations: 0 / 0.5844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 2.985e-05/0.139, allocations: 0 / 0.5844 GB, free: 4.312 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.913e-05/0.139, allocations: 7.984 kB / 0.5844 GB, free: 4.305 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.362e-05/0.139, allocations: 4 kB / 0.5844 GB, free: 4.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.874e-05/0.1391, allocations: 3.938 kB / 0.5844 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.1391, allocations: 0 / 0.5844 GB, free: 4.297 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.179e-06/0.1391, allocations: 4 kB / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.837e-06/0.1391, allocations: 0 / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.19e-05/0.1391, allocations: 0 / 0.5844 GB, free: 4.293 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 3.18e-05/0.1392, allocations: 4 kB / 0.5844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1392, allocations: 3.938 kB / 0.5844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.11e-07/0.1392, allocations: 0 / 0.5844 GB, free: 4.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.825e-06/0.1392, allocations: 0 / 0.5844 GB, free: 4.285 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002297/0.1394, allocations: 311.6 kB / 0.5847 GB, free: 3.934 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.1394, allocations: 8.031 kB / 0.5847 GB, free: 3.926 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.274e-05/0.1395, allocations: 30.75 kB / 0.5848 GB, free: 3.887 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.1395, allocations: 12.88 kB / 0.5848 GB, free: 3.875 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.194e-05/0.1396, allocations: 164.4 kB / 0.5849 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.1396, allocations: 8.312 kB / 0.5849 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.492e-06/0.1396, allocations: 384 / 0.5849 GB, free: 3.668 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.017e-05/0.1397, allocations: 51.33 kB / 0.585 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.2e-06/0.1397, allocations: 0 / 0.585 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.971e-06/0.1398, allocations: 0 / 0.585 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1398, allocations: 0 / 0.585 GB, free: 3.605 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.162e-05/0.1398, allocations: 7.938 kB / 0.585 GB, free: 3.598 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001249/0.1399, allocations: 154.5 kB / 0.5851 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.631e-05/0.14, allocations: 41.2 kB / 0.5852 GB, free: 3.336 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.554e-05/0.14, allocations: 21.78 kB / 0.5852 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.904e-05/0.14, allocations: 3.938 kB / 0.5852 GB, free: 3.305 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.608e-05/0.1401, allocations: 34.56 kB / 0.5852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.1401, allocations: 0 / 0.5852 GB, free: 3.262 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0001248/0.1402, allocations: 49.62 kB / 0.5853 GB, free: 3.207 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.661e-05/0.1402, allocations: 77.11 kB / 0.5853 GB, free: 3.113 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.648e-05/0.1403, allocations: 89.86 kB / 0.5854 GB, free: 3.016 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.116e-05/0.1403, allocations: 25.7 kB / 0.5855 GB, free: 2.984 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.213e-05/0.1403, allocations: 80.39 kB / 0.5855 GB, free: 2.902 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.589e-05/0.1404, allocations: 8.188 kB / 0.5855 GB, free: 2.895 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.993e-05/0.1404, allocations: 17.72 kB / 0.5856 GB, free: 2.871 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001038/0.1405, allocations: 310.8 kB / 0.5859 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.1405, allocations: 4 kB / 0.5859 GB, free: 2.555 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.492e-05/0.1405, allocations: 13.7 kB / 0.5859 GB, free: 2.535 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.859e-05/0.1406, allocations: 29.72 kB / 0.5859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1406, allocations: 0 / 0.5859 GB, free: 2.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.014e-05/0.1406, allocations: 37.64 kB / 0.5859 GB, free: 2.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.264e-05/0.1407, allocations: 4 kB / 0.5859 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1407, allocations: 0 / 0.5859 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1407, allocations: 0 / 0.5859 GB, free: 2.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.1408, allocations: 11.92 kB / 0.586 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1408, allocations: 0 / 0.586 GB, free: 2.441 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.823e-05/0.1408, allocations: 7.938 kB / 0.586 GB, free: 2.434 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.159e-06/0.1408, allocations: 0 / 0.586 GB, free: 2.434 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.866e-05/0.1409, allocations: 113.9 kB / 0.5861 GB, free: 2.312 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.45e-05/0.1409, allocations: 15.78 kB / 0.5861 GB, free: 2.297 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.58e-05/0.141, allocations: 48.75 kB / 0.5861 GB, free: 2.242 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.141, allocations: 3.938 kB / 0.5861 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.141, allocations: 0 / 0.5861 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.141, allocations: 0 / 0.5861 GB, free: 2.238 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.488e-05/0.1411, allocations: 149.7 kB / 0.5863 GB, free: 2.043 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.1411, allocations: 4.062 kB / 0.5863 GB, free: 2.039 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.629e-05/0.1412, allocations: 7.938 kB / 0.5863 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.1412, allocations: 0 / 0.5863 GB, free: 2.031 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.1412, allocations: 4 kB / 0.5863 GB, free: 2.027 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1412, allocations: 4 kB / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1412, allocations: 0 / 0.5863 GB, free: 2.023 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.515e-05/0.1413, allocations: 73.92 kB / 0.5864 GB, free: 1.93 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.116e-05/0.1413, allocations: 85.05 kB / 0.5864 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.097e-06/0.1413, allocations: 0 / 0.5864 GB, free: 1.828 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.497e-05/0.1414, allocations: 4 kB / 0.5865 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.249e-05/0.1414, allocations: 0 / 0.5865 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.479e-06/0.1414, allocations: 3.984 kB / 0.5865 GB, free: 1.82 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.33e-05/0.1414, allocations: 75.28 kB / 0.5865 GB, free: 1.746 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1414, allocations: 0 / 0.5865 GB, free: 1.746 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001831/0.1416, allocations: 4 kB / 0.5865 GB, free: 1.742 MB / 494.1 MB 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.0003278/0.1419, allocations: 0.6054 MB / 0.5871 GB, free: 1.102 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.145e-05/0.142, allocations: 8 kB / 0.5871 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.142, allocations: 0 / 0.5871 GB, free: 1.094 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.194e-05/0.142, allocations: 12.09 kB / 0.5871 GB, free: 1.082 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001291/0.1422, allocations: 4 kB / 0.5871 GB, free: 1.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002727/0.1424, allocations: 121.2 kB / 0.5873 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002174/0.1427, allocations: 0.6692 MB / 0.5879 GB, free: 224 kB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.977e-05/0.1427, allocations: 4 kB / 0.5879 GB, free: 220 kB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.913e-05/0.1427, allocations: 7.438 kB / 0.5879 GB, free: 212 kB / 494.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1427, allocations: 0 / 0.5879 GB, free: 212 kB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08466/0.2274, allocations: 0.7996 MB / 0.5887 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001829/0.2276, allocations: 179.5 kB / 0.5889 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.663/1.89, allocations: 0 / 0.5889 GB, free: 15.25 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)