Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterProperties.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterProperties,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterProperties",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.001486/0.001486, allocations: 108.1 kB / 16.4 MB, free: 6.484 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.001763/0.001763, allocations: 193.2 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.165/2.165, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.324/1.324, allocations: 115.3 MB / 406.5 MB, free: 6.125 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00205/0.00205, allocations: 70.16 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2552/0.2573, allocations: 76.18 MB / 0.6316 GB, free: 4.871 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterProperties): time 0.01219/0.2696, allocations: 4.712 MB / 0.6362 GB, free: 128 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.005566/0.2752, allocations: 2.698 MB / 0.6389 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002485/0.2755, allocations: 0 / 0.6389 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004759/0.276, allocations: 47.67 kB / 0.6389 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006005/0.2767, allocations: 91.36 kB / 0.639 GB, free: 13.28 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002481/0.2792, allocations: 0.5068 MB / 0.6395 GB, free: 12.78 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006241/0.2799, allocations: 231.9 kB / 0.6397 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001036/0.28, allocations: 13.55 kB / 0.6397 GB, free: 12.54 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004815/0.2805, allocations: 119.5 kB / 0.6398 GB, free: 12.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003361/0.2809, allocations: 91.66 kB / 0.6399 GB, free: 12.33 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 5.906e-05/0.2809, allocations: 8 kB / 0.6399 GB, free: 12.32 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.2826, allocations: 363.3 kB / 0.6403 GB, free: 11.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001471/0.2828, allocations: 43.88 kB / 0.6403 GB, free: 11.92 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001952/0.283, allocations: 79.66 kB / 0.6404 GB, free: 11.84 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.2843, allocations: 358.7 kB / 0.6407 GB, free: 11.5 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.752e-06/0.2843, allocations: 0 / 0.6407 GB, free: 11.5 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.365e-06/0.2844, allocations: 0 / 0.6407 GB, free: 11.5 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.2844, allocations: 0 / 0.6407 GB, free: 11.5 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001417/0.2858, allocations: 0.507 MB / 0.6412 GB, free: 10.94 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.987e-05/0.2859, allocations: 16.03 kB / 0.6412 GB, free: 10.92 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.816e-05/0.286, allocations: 50.73 kB / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003357/0.2864, allocations: 20.75 kB / 0.6413 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004545/0.2868, allocations: 212.1 kB / 0.6415 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/0.2869, allocations: 12.7 kB / 0.6415 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.2869, allocations: 16.38 kB / 0.6415 GB, free: 10.57 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007353/0.2877, allocations: 248 kB / 0.6418 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.874e-05/0.2877, allocations: 0 / 0.6418 GB, free: 10.31 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.262e-05/0.2878, allocations: 8 kB / 0.6418 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-05/0.2878, allocations: 11.98 kB / 0.6418 GB, free: 10.29 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009213/0.2888, allocations: 431.3 kB / 0.6422 GB, free: 9.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001943/0.2907, allocations: 0.9449 MB / 0.6431 GB, free: 8.832 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005386/0.2913, allocations: 167 kB / 0.6433 GB, free: 8.66 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001886/0.2915, allocations: 56.89 kB / 0.6434 GB, free: 8.602 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002499/0.294, allocations: 1.829 MB / 0.6451 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.512e-05/0.2941, allocations: 38.56 kB / 0.6452 GB, free: 6.367 MB / 494.1 MB Notification: Performance of pre-optimization done (n=15): time 3.697e-06/0.2941, allocations: 0 / 0.6452 GB, free: 6.367 MB / 494.1 MB Notification: Performance of matching and sorting (n=15): time 0.0006568/0.2948, allocations: 149.3 kB / 0.6453 GB, free: 6.215 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.524e-05/0.2949, allocations: 55.41 kB / 0.6454 GB, free: 6.148 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002683/0.2952, allocations: 165 kB / 0.6455 GB, free: 5.977 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.829e-05/0.2952, allocations: 33.7 kB / 0.6456 GB, free: 5.938 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001418/0.2954, allocations: 139.8 kB / 0.6457 GB, free: 5.797 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.503e-05/0.2955, allocations: 59.14 kB / 0.6457 GB, free: 5.738 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/0.2956, allocations: 53.61 kB / 0.6458 GB, free: 5.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0002189/0.2959, allocations: 326.8 kB / 0.6461 GB, free: 5.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001412/0.296, allocations: 39.91 kB / 0.6461 GB, free: 5.312 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002464/0.2963, allocations: 142.2 kB / 0.6463 GB, free: 5.125 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004759/0.2968, allocations: 204 kB / 0.6465 GB, free: 4.879 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.703e-06/0.2968, allocations: 0 / 0.6465 GB, free: 4.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006409/0.2975, allocations: 217.2 kB / 0.6467 GB, free: 4.66 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.2975, allocations: 4 kB / 0.6467 GB, free: 4.656 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.769e-05/0.2975, allocations: 4 kB / 0.6467 GB, free: 4.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.265e-05/0.2976, allocations: 11.94 kB / 0.6467 GB, free: 4.641 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003325/0.2979, allocations: 55.86 kB / 0.6468 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.113e-05/0.298, allocations: 7.984 kB / 0.6468 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002553/0.2982, allocations: 28.16 kB / 0.6468 GB, free: 4.551 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.233e-05/0.2983, allocations: 20 kB / 0.6468 GB, free: 4.531 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 0.0002045/0.2985, allocations: 129.7 kB / 0.6469 GB, free: 4.395 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001036/0.2986, allocations: 15.81 kB / 0.647 GB, free: 4.379 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005695/0.2992, allocations: 155 kB / 0.6471 GB, free: 4.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.476e-05/0.2993, allocations: 7.922 kB / 0.6471 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.022e-06/0.2993, allocations: 0 / 0.6471 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.813e-06/0.2993, allocations: 0 / 0.6471 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004681/0.2998, allocations: 217.5 kB / 0.6473 GB, free: 3.953 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.368e-06/0.2998, allocations: 4 kB / 0.6473 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.3, allocations: 19.98 kB / 0.6473 GB, free: 3.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.912e-05/0.3, allocations: 4 kB / 0.6473 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.086e-05/0.3, allocations: 4 kB / 0.6473 GB, free: 3.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.578e-06/0.3, allocations: 7.922 kB / 0.6474 GB, free: 3.914 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.3001, allocations: 3.984 kB / 0.6474 GB, free: 3.91 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004507/0.3005, allocations: 224.9 kB / 0.6476 GB, free: 3.676 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001788/0.3007, allocations: 101 kB / 0.6477 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.211e-05/0.3008, allocations: 4 kB / 0.6477 GB, free: 3.555 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000374/0.3012, allocations: 23.91 kB / 0.6477 GB, free: 3.531 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.473e-05/0.3012, allocations: 15.92 kB / 0.6477 GB, free: 3.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.378e-05/0.3013, allocations: 11.98 kB / 0.6477 GB, free: 3.504 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000161/0.3015, allocations: 121.6 kB / 0.6478 GB, free: 3.387 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.01e-07/0.3015, allocations: 0 / 0.6478 GB, free: 3.387 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007975/0.3023, allocations: 79.84 kB / 0.6479 GB, free: 3.309 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.001288/0.3036, allocations: 0.8239 MB / 0.6487 GB, free: 2.457 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004796/0.3041, allocations: 128 kB / 0.6488 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.748e-06/0.3041, allocations: 0 / 0.6488 GB, free: 2.332 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001421/0.3043, allocations: 43.92 kB / 0.6489 GB, free: 2.289 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000848/0.3051, allocations: 56.52 kB / 0.6489 GB, free: 2.234 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004328/0.3095, allocations: 2.039 MB / 0.6509 GB, free: 32 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005016/0.31, allocations: 0.7168 MB / 0.6516 GB, free: 15.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0003316/0.3104, allocations: 49.83 kB / 0.6517 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.3105, allocations: 43.42 kB / 0.6517 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of SimCode: time 1.353e-06/0.3106, allocations: 4 kB / 0.6517 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04212/0.3527, allocations: 5.29 MB / 0.6569 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.47/13.83, allocations: 13 kB / 0.6569 GB, free: 9.984 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterProperties.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterProperties.pipe 2>&1)