Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 108.9 kB / 16.45 MB, free: 6.504 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 195.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.096/1.096, allocations: 175.8 MB / 478.5 MB, free: 8.473 MB / 382.1 MB " [Timeout remaining time 179] 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.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.72 kB / 0.6652 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2064, allocations: 94.55 MB / 0.7575 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.5986/0.805, allocations: 148.7 MB / 0.9027 GB, free: 3.426 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001377/0.8051, allocations: 44.72 kB / 0.9028 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.533e-05/0.8052, allocations: 0 / 0.9028 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0001224/0.8053, allocations: 3.984 kB / 0.9028 GB, free: 3.379 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 8.084e-05/0.8054, allocations: 15.92 kB / 0.9028 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008419/0.8062, allocations: 219.2 kB / 0.903 GB, free: 3.148 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.492e-05/0.8063, allocations: 35.84 kB / 0.903 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.736e-05/0.8063, allocations: 0 / 0.903 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.495e-05/0.8064, allocations: 12 kB / 0.903 GB, free: 3.102 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.8064, allocations: 19.91 kB / 0.9031 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.8065, allocations: 1.219 kB / 0.9031 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000477/0.8069, allocations: 215.4 kB / 0.9033 GB, free: 2.871 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.215e-05/0.807, allocations: 7.922 kB / 0.9033 GB, free: 2.863 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.935e-05/0.807, allocations: 15.98 kB / 0.9033 GB, free: 2.848 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002724/0.8073, allocations: 113.6 kB / 0.9034 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.8073, allocations: 0 / 0.9034 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.363e-06/0.8073, allocations: 0 / 0.9034 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 4.388e-06/0.8073, allocations: 0 / 0.9034 GB, free: 2.742 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0004683/0.8078, allocations: 347.3 kB / 0.9037 GB, free: 2.355 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.8078, allocations: 8.031 kB / 0.9037 GB, free: 2.348 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.24e-05/0.8078, allocations: 34.75 kB / 0.9038 GB, free: 2.305 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002986/0.8081, allocations: 24.91 kB / 0.9038 GB, free: 2.281 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.8083, allocations: 172.1 kB / 0.904 GB, free: 2.074 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.724e-05/0.8083, allocations: 34.75 kB / 0.904 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.426e-06/0.8083, allocations: 0 / 0.904 GB, free: 2.035 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.8085, allocations: 49.67 kB / 0.904 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.694e-06/0.8085, allocations: 0 / 0.904 GB, free: 1.98 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/0.8085, allocations: 4 kB / 0.904 GB, free: 1.977 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.278e-05/0.8085, allocations: 4 kB / 0.904 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.314e-05/0.8086, allocations: 23.92 kB / 0.9041 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003815/0.809, allocations: 264.9 kB / 0.9043 GB, free: 1.641 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 5.571e-05/0.809, allocations: 22.52 kB / 0.9043 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.302e-05/0.809, allocations: 8.922 kB / 0.9043 GB, free: 1.598 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001685/0.8092, allocations: 97.09 kB / 0.9044 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.234e-05/0.8092, allocations: 34.56 kB / 0.9045 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=2): time 1.353e-06/0.8092, allocations: 3.938 kB / 0.9045 GB, free: 1.438 MB / 0.6856 GB Notification: Performance of matching and sorting (n=2): time 0.000239/0.8095, allocations: 45.69 kB / 0.9045 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.8095, allocations: 59.28 kB / 0.9046 GB, free: 1.316 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.777e-05/0.8096, allocations: 102 kB / 0.9047 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.8096, allocations: 33.7 kB / 0.9047 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 5.161e-05/0.8097, allocations: 84.09 kB / 0.9048 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 9.458e-06/0.8097, allocations: 7.953 kB / 0.9048 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.8097, allocations: 21.7 kB / 0.9048 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8099, allocations: 310.8 kB / 0.9051 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.601e-05/0.8099, allocations: 4 kB / 0.9051 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.588e-05/0.8099, allocations: 22.58 kB / 0.9051 GB, free: 0.6992 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.942e-05/0.81, allocations: 38.5 kB / 0.9052 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.81, allocations: 0 / 0.9052 GB, free: 0.6523 MB / 0.6856 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.083e-05/0.8101, allocations: 53.62 kB / 0.9052 GB, free: 0.5938 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.8101, allocations: 4 kB / 0.9052 GB, free: 0.5898 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.8101, allocations: 4 kB / 0.9052 GB, free: 0.5859 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.8101, allocations: 4.094 kB / 0.9052 GB, free: 0.582 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.57e-05/0.8102, allocations: 4 kB / 0.9052 GB, free: 0.5781 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.889e-06/0.8102, allocations: 10.67 kB / 0.9053 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.699e-05/0.8102, allocations: 0 / 0.9053 GB, free: 0.5703 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.291e-06/0.8102, allocations: 4 kB / 0.9053 GB, free: 0.5664 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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 9.171e-05/0.8103, allocations: 117.3 kB / 0.9054 GB, free: 456 kB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.299e-05/0.8103, allocations: 12.22 kB / 0.9054 GB, free: 444 kB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.151e-05/0.8104, allocations: 3.125 kB / 0.9054 GB, free: 440 kB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.499e-06/0.8104, allocations: 3.984 kB / 0.9054 GB, free: 436 kB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.8104, allocations: 7.938 kB / 0.9054 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.8104, allocations: 0 / 0.9054 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003432/0.8107, allocations: 359.6 kB / 0.9057 GB, free: 4 kB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.8107, allocations: 4 kB / 0.9057 GB, free: 0 / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.873e-05/0.8107, allocations: 4.062 kB / 0.9057 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.8107, allocations: 7.938 kB / 0.9058 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.8108, allocations: 0.5625 kB / 0.9058 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.8108, allocations: 0 / 0.9058 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.8108, allocations: 8 kB / 0.9058 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.251e-05/0.8108, allocations: 69.98 kB / 0.9058 GB, free: 15.89 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 5.784e-05/0.8109, allocations: 86.62 kB / 0.9059 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.606e-05/0.8109, allocations: 0 / 0.9059 GB, free: 15.79 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001099/0.811, allocations: 8 kB / 0.9059 GB, free: 15.78 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.659e-05/0.811, allocations: 4.031 kB / 0.9059 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.8111, allocations: 4 kB / 0.9059 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 4.853e-05/0.8111, allocations: 83.27 kB / 0.906 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.8111, allocations: 0 / 0.906 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0001986/0.8113, allocations: 7.938 kB / 0.906 GB, free: 15.68 MB / 0.7012 GB 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.0004484/0.8117, allocations: 0.6141 MB / 0.9066 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 8.786e-05/0.8118, allocations: 15.94 kB / 0.9066 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.298e-06/0.8118, allocations: 4 kB / 0.9066 GB, free: 15.02 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 1.136e-05/0.8119, allocations: 3.984 kB / 0.9066 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002341/0.8121, allocations: 4 kB / 0.9066 GB, free: 15.01 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.8125, allocations: 162.4 kB / 0.9068 GB, free: 14.8 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.8128, allocations: 0.6768 MB / 0.9075 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 5.104e-05/0.8129, allocations: 7.875 kB / 0.9075 GB, free: 14.1 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/0.8129, allocations: 15.42 kB / 0.9075 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of SimCode: time 3.01e-07/0.8129, allocations: 0 / 0.9075 GB, free: 14.08 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02516/0.8381, allocations: 1.453 MB / 0.9089 GB, free: 12.74 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.23/9.068, allocations: 4 kB / 0.9089 GB, free: 12.74 MB / 0.7012 GB " [Timeout remaining time 651] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.895172136835754] Failed to read output from testmodel.py, exit status != 0: 9.138405417092144 9.166433133 8.35417002 Calling exit ...