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.001788/0.001788, allocations: 107.5 kB / 18.7 MB, free: 3.32 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.002228/0.002228, allocations: 192.4 kB / 21.95 MB, free: 72 kB / 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.551/1.551, allocations: 225.6 MB / 250.6 MB, free: 13.42 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.091/1.091, allocations: 175.8 MB / 481.6 MB, free: 7.84 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: translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002222/0.002222, allocations: 76.52 kB / 0.67 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.5321, allocations: 94.53 MB / 0.7624 GB, free: 9.969 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1844/0.7165, allocations: 148.8 MB / 0.9076 GB, free: 1.766 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.0001696/0.7167, allocations: 55.8 kB / 0.9077 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.755e-05/0.7167, allocations: 0 / 0.9077 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000111/0.7168, allocations: 0 / 0.9077 GB, free: 1.711 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 9.341e-05/0.7169, allocations: 19.91 kB / 0.9077 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008985/0.7178, allocations: 212.7 kB / 0.9079 GB, free: 1.484 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0001037/0.7179, allocations: 35.84 kB / 0.9079 GB, free: 1.449 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.291e-05/0.718, allocations: 7.938 kB / 0.9079 GB, free: 1.441 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 3.864e-05/0.718, allocations: 11.98 kB / 0.908 GB, free: 1.43 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 7.909e-05/0.7181, allocations: 11.97 kB / 0.908 GB, free: 1.418 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.7181, allocations: 8 kB / 0.908 GB, free: 1.41 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000483/0.7186, allocations: 211.4 kB / 0.9082 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 4.87e-05/0.7186, allocations: 11.94 kB / 0.9082 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 3.744e-05/0.7186, allocations: 7.984 kB / 0.9082 GB, free: 1.184 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0002954/0.7189, allocations: 122.3 kB / 0.9083 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.7189, allocations: 0 / 0.9083 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.583e-06/0.719, allocations: 0 / 0.9083 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.811e-06/0.719, allocations: 0 / 0.9083 GB, free: 1.07 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.0004956/0.7195, allocations: 339.3 kB / 0.9086 GB, free: 0.6914 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.7195, allocations: 16.03 kB / 0.9086 GB, free: 0.6758 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003283/0.7198, allocations: 20.91 kB / 0.9087 GB, free: 0.6562 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.72, allocations: 164.4 kB / 0.9088 GB, free: 468 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-05/0.72, allocations: 33.62 kB / 0.9089 GB, free: 428 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.255e-05/0.7201, allocations: 0 / 0.9089 GB, free: 428 kB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.7202, allocations: 49.67 kB / 0.9089 GB, free: 372 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.685e-06/0.7202, allocations: 0 / 0.9089 GB, free: 372 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.7202, allocations: 4 kB / 0.9089 GB, free: 368 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.893e-05/0.7202, allocations: 11.94 kB / 0.9089 GB, free: 356 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.7203, allocations: 15.98 kB / 0.9089 GB, free: 340 kB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004038/0.7207, allocations: 264.9 kB / 0.9092 GB, free: 24 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 7.802e-05/0.7208, allocations: 18.58 kB / 0.9092 GB, free: 16 MB / 0.7013 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.457e-05/0.7208, allocations: 8.922 kB / 0.9092 GB, free: 15.98 MB / 0.7013 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001692/0.721, allocations: 101 kB / 0.9093 GB, free: 15.87 MB / 0.7013 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.931e-05/0.721, allocations: 34.56 kB / 0.9093 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.721, allocations: 3.938 kB / 0.9093 GB, free: 15.82 MB / 0.7013 GB Notification: Performance of matching and sorting (n=2): time 0.0002544/0.7213, allocations: 45.69 kB / 0.9094 GB, free: 15.77 MB / 0.7013 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.675e-05/0.7213, allocations: 55.41 kB / 0.9094 GB, free: 15.7 MB / 0.7013 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.261e-05/0.7214, allocations: 113.8 kB / 0.9095 GB, free: 15.58 MB / 0.7013 GB Notification: Performance of collectPreVariables (initialization): time 1.801e-05/0.7214, allocations: 25.7 kB / 0.9096 GB, free: 15.55 MB / 0.7013 GB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.7215, allocations: 84.09 kB / 0.9097 GB, free: 15.46 MB / 0.7013 GB Notification: Performance of collectInitialBindings (initialization): time 1.089e-05/0.7215, allocations: 11.94 kB / 0.9097 GB, free: 15.45 MB / 0.7013 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.685e-05/0.7215, allocations: 17.72 kB / 0.9097 GB, free: 15.43 MB / 0.7013 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.7217, allocations: 314.8 kB / 0.91 GB, free: 15.11 MB / 0.7013 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.961e-05/0.7217, allocations: 4 kB / 0.91 GB, free: 15.11 MB / 0.7013 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.27e-05/0.7217, allocations: 30.56 kB / 0.91 GB, free: 15.07 MB / 0.7013 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.11e-05/0.7218, allocations: 30.52 kB / 0.91 GB, free: 15.03 MB / 0.7013 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.7218, allocations: 0 / 0.91 GB, free: 15.03 MB / 0.7013 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001014/0.7219, allocations: 53.62 kB / 0.9101 GB, free: 14.97 MB / 0.7013 GB Notification: Performance of prepare postOptimizeDAE: time 2.184e-05/0.7219, allocations: 8 kB / 0.9101 GB, free: 14.96 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.7219, allocations: 96 / 0.9101 GB, free: 14.96 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.574e-05/0.722, allocations: 4 kB / 0.9101 GB, free: 14.96 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.298e-05/0.722, allocations: 8.281 kB / 0.9101 GB, free: 14.95 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/0.722, allocations: 7.875 kB / 0.9101 GB, free: 14.95 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.7221, allocations: 0 / 0.9101 GB, free: 14.95 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.7221, allocations: 4 kB / 0.9101 GB, free: 14.94 MB / 0.7013 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.641e-05/0.7222, allocations: 113.8 kB / 0.9102 GB, free: 14.82 MB / 0.7013 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.204e-05/0.7222, allocations: 7.953 kB / 0.9102 GB, free: 14.81 MB / 0.7013 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.598e-05/0.7222, allocations: 7.109 kB / 0.9102 GB, free: 14.81 MB / 0.7013 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7222, allocations: 4.875 kB / 0.9103 GB, free: 14.8 MB / 0.7013 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.7222, allocations: 3.938 kB / 0.9103 GB, free: 14.8 MB / 0.7013 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.7222, allocations: 0 / 0.9103 GB, free: 14.8 MB / 0.7013 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003795/0.7226, allocations: 363.6 kB / 0.9106 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.7226, allocations: 0 / 0.9106 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.7227, allocations: 0 / 0.9106 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.7227, allocations: 9.938 kB / 0.9106 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.7227, allocations: 0 / 0.9106 GB, free: 14.38 MB / 0.7013 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7227, allocations: 4.062 kB / 0.9106 GB, free: 14.37 MB / 0.7013 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7227, allocations: 0 / 0.9106 GB, free: 14.37 MB / 0.7013 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.7228, allocations: 77.86 kB / 0.9107 GB, free: 14.27 MB / 0.7013 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.7228, allocations: 85 kB / 0.9108 GB, free: 14.17 MB / 0.7013 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.432e-05/0.7228, allocations: 0 / 0.9108 GB, free: 14.17 MB / 0.7013 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/0.7229, allocations: 11.98 kB / 0.9108 GB, free: 14.16 MB / 0.7013 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.223e-05/0.7229, allocations: 4.031 kB / 0.9108 GB, free: 14.16 MB / 0.7013 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.7229, allocations: 4 kB / 0.9108 GB, free: 14.15 MB / 0.7013 GB Notification: Performance of sorting global known variables: time 5.477e-05/0.723, allocations: 79.28 kB / 0.9109 GB, free: 14.07 MB / 0.7013 GB Notification: Performance of sort global known variables: time 8.1e-08/0.723, allocations: 0 / 0.9109 GB, free: 14.07 MB / 0.7013 GB Notification: Performance of remove unused functions: time 0.0001972/0.7232, allocations: 4 kB / 0.9109 GB, free: 14.07 MB / 0.7013 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.0001415/0.7233, allocations: 103.2 kB / 0.911 GB, free: 13.96 MB / 0.7013 GB Notification: Performance of simCode: created initialization part: time 9.328e-05/0.7234, allocations: 23.92 kB / 0.911 GB, free: 13.94 MB / 0.7013 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.7234, allocations: 0 / 0.911 GB, free: 13.94 MB / 0.7013 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.7234, allocations: 4 kB / 0.911 GB, free: 13.93 MB / 0.7013 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002526/0.7237, allocations: 8 kB / 0.911 GB, free: 13.93 MB / 0.7013 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000344/0.724, allocations: 156.9 kB / 0.9112 GB, free: 13.73 MB / 0.7013 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003356/0.7244, allocations: 0.6771 MB / 0.9118 GB, free: 13.03 MB / 0.7013 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.606e-05/0.7244, allocations: 11.44 kB / 0.9118 GB, free: 13.02 MB / 0.7013 GB Notification: Performance of SimCode: time 4.61e-07/0.7244, allocations: 0 / 0.9118 GB, free: 13.02 MB / 0.7013 GB Notification: Performance of Templates: time 0.00244/0.7268, allocations: 0.6243 MB / 0.9124 GB, free: 12.4 MB / 0.7013 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.80604752805084] Failed to read output from testmodel.py, exit status != 0: 0.7361088749021292 0.751111442 0.028936307 Calling exit ...