Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008323/0.0008323, allocations: 80.48 kB / 19.93 MB, free: 4.633 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007904/0.0007904, allocations: 173.9 kB / 23.21 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8775/0.8775, allocations: 177.1 MB / 203.5 MB, free: 5.715 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7063/0.7063, allocations: 154.6 MB / 414.5 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 0 / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.088e-05/3.23e-05, allocations: 7.25 kB / 0.6193 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005067/0.0051, allocations: 3.903 MB / 0.6231 GB, free: 9.27 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001636/0.005263, allocations: 135.5 kB / 0.6232 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.00529, allocations: 0 / 0.6232 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001131/0.005403, allocations: 3.938 kB / 0.6232 GB, free: 9.133 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 8.299e-05/0.005486, allocations: 15.91 kB / 0.6233 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.005843, allocations: 94.52 kB / 0.6233 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.974e-05/0.005933, allocations: 39.84 kB / 0.6234 GB, free: 8.988 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.482e-05/0.005978, allocations: 3.984 kB / 0.6234 GB, free: 8.984 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.627e-05/0.006034, allocations: 15.98 kB / 0.6234 GB, free: 8.969 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.386e-05/0.006108, allocations: 11.98 kB / 0.6234 GB, free: 8.957 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.006124, allocations: 7.938 kB / 0.6234 GB, free: 8.949 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001856/0.006309, allocations: 51.75 kB / 0.6235 GB, free: 8.898 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.006363, allocations: 11.97 kB / 0.6235 GB, free: 8.887 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.419e-05/0.006387, allocations: 11.94 kB / 0.6235 GB, free: 8.875 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001495/0.006536, allocations: 59.86 kB / 0.6235 GB, free: 8.816 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.00654, allocations: 4 kB / 0.6236 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.843e-06/0.006542, allocations: 0 / 0.6236 GB, free: 8.812 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.909e-06/0.006547, allocations: 0 / 0.6236 GB, free: 8.812 MB / 0.5886 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.0003755/0.006922, allocations: 258.3 kB / 0.6238 GB, free: 8.531 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.984e-05/0.006962, allocations: 12.03 kB / 0.6238 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.421e-05/0.007006, allocations: 0.9375 kB / 0.6238 GB, free: 8.52 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.84e-05/0.007095, allocations: 113.7 kB / 0.6239 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.004e-05/0.007165, allocations: 51.97 kB / 0.624 GB, free: 8.32 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.007176, allocations: 8.344 kB / 0.624 GB, free: 8.312 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.00731, allocations: 75.94 kB / 0.624 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.007318, allocations: 4.188 kB / 0.6241 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.00733, allocations: 3.938 kB / 0.6241 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.767e-05/0.007348, allocations: 0 / 0.6241 GB, free: 8.219 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.512e-05/0.007393, allocations: 15.98 kB / 0.6241 GB, free: 8.203 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.007764, allocations: 200.6 kB / 0.6243 GB, free: 7.977 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.359e-05/0.007807, allocations: 26.52 kB / 0.6243 GB, free: 7.941 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.594e-05/0.007823, allocations: 8.797 kB / 0.6243 GB, free: 7.93 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 5.416e-05/0.007877, allocations: 8.062 kB / 0.6243 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.007902, allocations: 30.56 kB / 0.6243 GB, free: 7.883 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.007904, allocations: 4 kB / 0.6243 GB, free: 7.879 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.00014/0.008044, allocations: 37.69 kB / 0.6244 GB, free: 7.836 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.472e-05/0.008078, allocations: 59.34 kB / 0.6244 GB, free: 7.766 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.334e-05/0.008152, allocations: 97.84 kB / 0.6245 GB, free: 7.66 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.008164, allocations: 29.7 kB / 0.6246 GB, free: 7.625 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.421e-05/0.008209, allocations: 88.09 kB / 0.6246 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.985e-06/0.008217, allocations: 7.891 kB / 0.6246 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.988e-05/0.008247, allocations: 13.72 kB / 0.6247 GB, free: 7.508 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.979e-05/0.008336, allocations: 318.8 kB / 0.625 GB, free: 7.188 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.257e-05/0.008349, allocations: 4 kB / 0.625 GB, free: 7.184 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.218e-05/0.008371, allocations: 17.84 kB / 0.625 GB, free: 7.16 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.341e-05/0.008404, allocations: 21.72 kB / 0.625 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.008406, allocations: 0 / 0.625 GB, free: 7.133 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.403e-05/0.00848, allocations: 57.5 kB / 0.6251 GB, free: 7.07 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.008494, allocations: 8 kB / 0.6251 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.0085, allocations: 0 / 0.6251 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.008513, allocations: 0 / 0.6251 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.886e-05/0.008561, allocations: 7.984 kB / 0.6251 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.008566, allocations: 64 / 0.6251 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.849e-05/0.008585, allocations: 8 kB / 0.6251 GB, free: 7.047 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.012e-05/0.008595, allocations: 0 / 0.6251 GB, free: 7.047 MB / 0.5886 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 5.976e-05/0.008655, allocations: 114.8 kB / 0.6252 GB, free: 6.926 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.05e-05/0.008675, allocations: 3.938 kB / 0.6252 GB, free: 6.922 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.008787, allocations: 128.9 kB / 0.6253 GB, free: 6.785 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.076e-05/0.008837, allocations: 176.3 kB / 0.6255 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0003041/0.009142, allocations: 192.2 kB / 0.6257 GB, free: 6.41 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.668e-05/0.009188, allocations: 176.3 kB / 0.6258 GB, free: 6.23 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000166/0.009354, allocations: 360.8 kB / 0.6262 GB, free: 5.84 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.768e-05/0.009382, allocations: 105 kB / 0.6263 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.906e-05/0.009411, allocations: 108.9 kB / 0.6264 GB, free: 5.617 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.515e-05/0.009456, allocations: 180.2 kB / 0.6266 GB, free: 5.434 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.085e-05/0.009507, allocations: 184.2 kB / 0.6267 GB, free: 5.246 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.777e-05/0.009555, allocations: 188.2 kB / 0.6269 GB, free: 5.055 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.594e-05/0.009601, allocations: 176.3 kB / 0.6271 GB, free: 4.875 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.009703, allocations: 299.8 kB / 0.6274 GB, free: 4.559 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.545e-05/0.009738, allocations: 113.2 kB / 0.6275 GB, free: 4.441 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.899e-05/0.009797, allocations: 184.2 kB / 0.6276 GB, free: 4.254 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.009921, allocations: 105 kB / 0.6277 GB, free: 4.145 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.217e-05/0.009984, allocations: 192.2 kB / 0.6279 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.01001, allocations: 105 kB / 0.628 GB, free: 3.84 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.01005, allocations: 83.28 kB / 0.6281 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of sort global known variables: time 7e-08/0.01005, allocations: 0 / 0.6281 GB, free: 3.758 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002479/0.0103, allocations: 15.94 kB / 0.6281 GB, free: 3.742 MB / 0.5886 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.0001851/0.01048, allocations: 198.4 kB / 0.6283 GB, free: 3.539 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 7.004e-05/0.01055, allocations: 8.25 kB / 0.6283 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.01055, allocations: 0 / 0.6283 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 1.102e-06/0.01055, allocations: 0 / 0.6283 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.01097, allocations: 467.8 kB / 0.6288 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002791/0.01125, allocations: 201.7 kB / 0.629 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.193e-05/0.0113, allocations: 63.34 kB / 0.629 GB, free: 2.758 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.119e-05/0.01133, allocations: 12.5 kB / 0.629 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of SimCode: time 7.61e-07/0.01133, allocations: 3.938 kB / 0.629 GB, free: 2.738 MB / 0.5886 GB Notification: Performance of Templates: time 0.002432/0.01376, allocations: 0.7321 MB / 0.6298 GB, free: 2.012 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.026346173137426] Failed to read output from testmodel.py, exit status != 0: 0.019977604039013386 0.027660581 0.019448422 Calling exit ...