Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion",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.002176/0.002176, allocations: 104 kB / 16.4 MB, free: 6.496 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.002404/0.002404, allocations: 197.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.49/2.49, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.197/1.197, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 63.86 kB / 0.5572 GB, free: 32.54 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2771/0.2795, allocations: 76.18 MB / 0.6316 GB, free: 4.926 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.008066/0.2876, allocations: 4.005 MB / 0.6355 GB, free: 0.8867 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.2879, allocations: 159.5 kB / 0.6356 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.944e-05/0.288, allocations: 8 kB / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001369/0.2882, allocations: 0 / 0.6356 GB, free: 0.7227 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 9.836e-05/0.2884, allocations: 7.922 kB / 0.6356 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000491/0.2889, allocations: 83.69 kB / 0.6357 GB, free: 0.6328 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001142/0.289, allocations: 27.91 kB / 0.6357 GB, free: 0.6055 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.821e-05/0.2891, allocations: 8 kB / 0.6358 GB, free: 0.5977 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.822e-05/0.2891, allocations: 23.84 kB / 0.6358 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.745e-05/0.2892, allocations: 15.98 kB / 0.6358 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.2893, allocations: 0 / 0.6358 GB, free: 0.5586 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002685/0.2895, allocations: 59.81 kB / 0.6359 GB, free: 0.5 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 5.796e-05/0.2896, allocations: 7.984 kB / 0.6359 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 4.31e-05/0.2897, allocations: 11.94 kB / 0.6359 GB, free: 492 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000168/0.2898, allocations: 42.75 kB / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.2899, allocations: 0 / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Performance of FrontEnd: time 2.796e-06/0.2899, allocations: 0 / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Performance of Transformations before backend: time 1.437e-05/0.2899, allocations: 0 / 0.6359 GB, free: 452 kB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005256/0.2904, allocations: 339.4 kB / 0.6362 GB, free: 64 kB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.778e-05/0.2905, allocations: 16.02 kB / 0.6363 GB, free: 48 kB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.208e-05/0.2905, allocations: 34.75 kB / 0.6363 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.141e-05/0.2906, allocations: 0.9375 kB / 0.6363 GB, free: 4 kB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001989/0.2908, allocations: 165.2 kB / 0.6364 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.613e-05/0.2909, allocations: 30.2 kB / 0.6365 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.2909, allocations: 4.125 kB / 0.6365 GB, free: 15.77 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.2911, allocations: 41.69 kB / 0.6365 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2911, allocations: 0 / 0.6365 GB, free: 15.72 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.469e-05/0.2912, allocations: 8 kB / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.2912, allocations: 0 / 0.6365 GB, free: 15.71 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.987e-05/0.2913, allocations: 11.98 kB / 0.6365 GB, free: 15.7 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006011/0.2919, allocations: 338 kB / 0.6369 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.2919, allocations: 22.52 kB / 0.6369 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.002e-05/0.292, allocations: 4.859 kB / 0.6369 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001183/0.2921, allocations: 89.16 kB / 0.637 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/0.2922, allocations: 38.56 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.834e-06/0.2922, allocations: 3.938 kB / 0.637 GB, free: 15.11 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002/0.2924, allocations: 29.7 kB / 0.637 GB, free: 15.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.84e-05/0.2924, allocations: 51.41 kB / 0.6371 GB, free: 15.01 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.2926, allocations: 113.7 kB / 0.6372 GB, free: 14.89 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.394e-05/0.2926, allocations: 25.7 kB / 0.6372 GB, free: 14.86 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.809e-05/0.2927, allocations: 80.27 kB / 0.6373 GB, free: 14.77 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.009e-05/0.2927, allocations: 11.89 kB / 0.6373 GB, free: 14.76 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.395e-05/0.2928, allocations: 21.7 kB / 0.6373 GB, free: 14.73 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001336/0.2929, allocations: 318.8 kB / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.2929, allocations: 0 / 0.6376 GB, free: 14.41 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/0.293, allocations: 21.7 kB / 0.6377 GB, free: 14.39 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.168e-05/0.293, allocations: 21.72 kB / 0.6377 GB, free: 14.36 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.2931, allocations: 0 / 0.6377 GB, free: 14.36 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001145/0.2932, allocations: 49.62 kB / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.2932, allocations: 4 kB / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.2932, allocations: 4 kB / 0.6377 GB, free: 14.3 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.35e-05/0.2933, allocations: 4 kB / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.579e-05/0.2933, allocations: 7.938 kB / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.2934, allocations: 0 / 0.6377 GB, free: 14.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.238e-05/0.2934, allocations: 4 kB / 0.6377 GB, free: 14.28 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2934, allocations: 64 / 0.6377 GB, free: 14.28 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 (3): * Single equations (assignments): 3 * 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 0.0001102/0.2935, allocations: 125.7 kB / 0.6379 GB, free: 14.15 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.506e-05/0.2936, allocations: 7.906 kB / 0.6379 GB, free: 14.14 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001473/0.2937, allocations: 113 kB / 0.638 GB, free: 14.02 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.793e-05/0.2938, allocations: 176.3 kB / 0.6381 GB, free: 13.84 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.694e-05/0.2939, allocations: 188.2 kB / 0.6383 GB, free: 13.65 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.609e-05/0.294, allocations: 184.5 kB / 0.6385 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003423/0.2944, allocations: 409.1 kB / 0.6389 GB, free: 13.01 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.317e-05/0.2944, allocations: 105 kB / 0.639 GB, free: 12.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.85e-05/0.2945, allocations: 105 kB / 0.6391 GB, free: 12.79 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.868e-05/0.2946, allocations: 184.2 kB / 0.6393 GB, free: 12.6 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.093e-05/0.2947, allocations: 180.3 kB / 0.6394 GB, free: 12.42 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.826e-05/0.2948, allocations: 184.2 kB / 0.6396 GB, free: 12.23 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.721e-05/0.2948, allocations: 180.3 kB / 0.6398 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.295, allocations: 307.7 kB / 0.6401 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.073e-05/0.2951, allocations: 182.1 kB / 0.6403 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001029/0.2953, allocations: 184.2 kB / 0.6404 GB, free: 11.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002367/0.2955, allocations: 112.9 kB / 0.6405 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.2956, allocations: 184.2 kB / 0.6407 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.075e-05/0.2957, allocations: 105 kB / 0.6408 GB, free: 10.92 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.518e-05/0.2957, allocations: 79.28 kB / 0.6409 GB, free: 10.84 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.2958, allocations: 0 / 0.6409 GB, free: 10.84 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004625/0.2962, allocations: 31.88 kB / 0.6409 GB, free: 10.81 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 (0): * Single equations (assignments): 0 * 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.000722/0.297, allocations: 0.8282 MB / 0.6417 GB, free: 9.953 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001328/0.2971, allocations: 16.06 kB / 0.6417 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.266e-06/0.2971, allocations: 0 / 0.6417 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.454e-06/0.2971, allocations: 0 / 0.6417 GB, free: 9.938 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006071/0.2978, allocations: 455.7 kB / 0.6422 GB, free: 9.488 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001477/0.2992, allocations: 1.336 MB / 0.6435 GB, free: 8.062 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003067/0.2996, allocations: 0.669 MB / 0.6441 GB, free: 7.367 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.946e-05/0.2996, allocations: 7.984 kB / 0.6441 GB, free: 7.359 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.2997, allocations: 11.44 kB / 0.6442 GB, free: 7.348 MB / 494.1 MB Notification: Performance of SimCode: time 5.71e-07/0.2997, allocations: 0 / 0.6442 GB, free: 7.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02759/0.3273, allocations: 1.509 MB / 0.6456 GB, free: 5.938 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/13.6, allocations: 10.17 kB / 0.6456 GB, free: 5.934 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1)