Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.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.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion",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.00103/0.00103, allocations: 103.7 kB / 16.4 MB, free: 6.492 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.001162/0.001162, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.3/1.3, 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 0.7241/0.7241, allocations: 115.3 MB / 406.5 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 62.83 kB / 0.5572 GB, free: 32.43 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1575, allocations: 76.18 MB / 0.6316 GB, free: 4.93 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.5384/0.6959, allocations: 135.4 MB / 0.7638 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001642/0.6961, allocations: 47.33 kB / 0.7638 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.515e-05/0.6962, allocations: 0 / 0.7638 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001134/0.6964, allocations: 8.438 kB / 0.7638 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 7.603e-05/0.6965, allocations: 11.42 kB / 0.7638 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008169/0.6973, allocations: 240.9 kB / 0.7641 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 9.161e-05/0.6974, allocations: 32.17 kB / 0.7641 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 4.057e-05/0.6974, allocations: 6.594 kB / 0.7641 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 3.639e-05/0.6975, allocations: 15.19 kB / 0.7641 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 7.164e-05/0.6976, allocations: 15.67 kB / 0.7641 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.215e-05/0.6976, allocations: 5.281 kB / 0.7641 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004492/0.698, allocations: 242.3 kB / 0.7644 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 4.796e-05/0.6981, allocations: 8.969 kB / 0.7644 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.77e-05/0.6981, allocations: 9.875 kB / 0.7644 GB, free: 15.19 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0003331/0.6985, allocations: 182.1 kB / 0.7646 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.6985, allocations: 0 / 0.7646 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6985, allocations: 1.203 kB / 0.7646 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.159e-06/0.6985, allocations: 0 / 0.7646 GB, free: 15.18 MB / 0.5919 GB 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.0004233/0.6989, allocations: 363.8 kB / 0.7649 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.699, allocations: 11.62 kB / 0.7649 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.554e-05/0.699, allocations: 35.89 kB / 0.7649 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.699, allocations: 8.031 kB / 0.765 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.6992, allocations: 165.7 kB / 0.7651 GB, free: 14.57 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.899e-05/0.6992, allocations: 27.27 kB / 0.7651 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.408e-06/0.6992, allocations: 7.438 kB / 0.7651 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.6994, allocations: 40.55 kB / 0.7652 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.6994, allocations: 2.531 kB / 0.7652 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.218e-06/0.6994, allocations: 0 / 0.7652 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.671e-05/0.6994, allocations: 6.531 kB / 0.7652 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.97e-05/0.6995, allocations: 11.25 kB / 0.7652 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006996/0.7002, allocations: 0.6028 MB / 0.7658 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 3.569e-05/0.7002, allocations: 16.39 kB / 0.7658 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.414e-05/0.7002, allocations: 5.953 kB / 0.7658 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001832/0.7004, allocations: 343.6 kB / 0.7661 GB, free: 13.44 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.7005, allocations: 30.56 kB / 0.7662 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.7005, allocations: 1.969 kB / 0.7662 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=1): time 0.0001416/0.7006, allocations: 42.17 kB / 0.7662 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.7007, allocations: 51.41 kB / 0.7663 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.11e-05/0.7007, allocations: 104.3 kB / 0.7664 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.7008, allocations: 25.7 kB / 0.7664 GB, free: 13.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.7008, allocations: 90.58 kB / 0.7665 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.414e-06/0.7008, allocations: 7.844 kB / 0.7665 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-05/0.7008, allocations: 17.72 kB / 0.7665 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001/0.701, allocations: 320.4 kB / 0.7668 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.284e-05/0.701, allocations: 0 / 0.7668 GB, free: 12.74 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.146e-05/0.701, allocations: 19.67 kB / 0.7668 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.215e-05/0.701, allocations: 24.16 kB / 0.7668 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.701, allocations: 0 / 0.7668 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.238e-05/0.7011, allocations: 51.78 kB / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.129e-05/0.7011, allocations: 6.453 kB / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.7011, allocations: 0 / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.7012, allocations: 2.219 kB / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.221e-05/0.7012, allocations: 7.312 kB / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.7012, allocations: 3.5 kB / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.871e-05/0.7012, allocations: 0 / 0.7669 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.014e-05/0.7013, allocations: 9.875 kB / 0.7669 GB, free: 12.66 MB / 0.5919 GB 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 6.232e-05/0.7013, allocations: 107.9 kB / 0.767 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.548e-05/0.7014, allocations: 1.875 kB / 0.767 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001034/0.7015, allocations: 127.9 kB / 0.7671 GB, free: 12.43 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.373e-05/0.7015, allocations: 188.1 kB / 0.7673 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.396e-05/0.7016, allocations: 181.3 kB / 0.7675 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.261e-05/0.7016, allocations: 184.2 kB / 0.7677 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002029/0.7018, allocations: 408.8 kB / 0.7681 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.957e-05/0.7019, allocations: 101 kB / 0.7682 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.491e-05/0.7019, allocations: 104.9 kB / 0.7683 GB, free: 11.21 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.338e-05/0.702, allocations: 181.7 kB / 0.7684 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-05/0.702, allocations: 186.1 kB / 0.7686 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.071e-05/0.7021, allocations: 176.3 kB / 0.7688 GB, free: 10.67 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.543e-05/0.7022, allocations: 182.5 kB / 0.769 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001177/0.7023, allocations: 313.1 kB / 0.7693 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.285e-05/0.7024, allocations: 190.7 kB / 0.7694 GB, free: 9.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.501e-05/0.7024, allocations: 178.1 kB / 0.7696 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.7026, allocations: 110.4 kB / 0.7697 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.449e-05/0.7026, allocations: 180.2 kB / 0.7699 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-05/0.7027, allocations: 102.3 kB / 0.77 GB, free: 9.387 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.275e-05/0.7027, allocations: 91.28 kB / 0.7701 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7027, allocations: 0 / 0.7701 GB, free: 9.309 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002999/0.703, allocations: 53.97 kB / 0.7701 GB, free: 9.293 MB / 0.5919 GB 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.0005055/0.7035, allocations: 0.8918 MB / 0.771 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 6.321e-05/0.7036, allocations: 5.969 kB / 0.771 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.7036, allocations: 0 / 0.771 GB, free: 8.461 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 4.599e-06/0.7036, allocations: 4.938 kB / 0.771 GB, free: 8.457 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000358/0.704, allocations: 465.4 kB / 0.7714 GB, free: 8.008 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009302/0.7049, allocations: 1.338 MB / 0.7727 GB, free: 6.691 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.7052, allocations: 0.677 MB / 0.7734 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.103e-05/0.7052, allocations: 3.656 kB / 0.7734 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.18e-05/0.7052, allocations: 13.28 kB / 0.7734 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.7052, allocations: 5.141 kB / 0.7734 GB, free: 5.98 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01995/0.7252, allocations: 2.212 MB / 0.7756 GB, free: 5.492 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.326/8.051, allocations: 15.16 kB / 0.7756 GB, free: 5.484 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1)