Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.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.0007659/0.0007659, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007872/0.0007872, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.8757/0.8757, allocations: 177.2 MB / 202.8 MB, free: 5.742 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.6953/0.6953, allocations: 154.6 MB / 413.8 MB, free: 0.793 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: "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.122e-06/1.122e-06, allocations: 0 / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.576e-05/1.688e-05, allocations: 5.344 kB / 0.6181 GB, free: 13.71 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion): time 0.4304/0.4304, allocations: 119 MB / 0.7343 GB, free: 27.18 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001352/0.4306, allocations: 60.86 kB / 0.7344 GB, free: 27.15 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.4306, allocations: 3.938 kB / 0.7344 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 6.993e-05/0.4306, allocations: 1.031 kB / 0.7344 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 4.462e-05/0.4307, allocations: 10.38 kB / 0.7344 GB, free: 27.14 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005739/0.4313, allocations: 250.9 kB / 0.7346 GB, free: 27.03 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 5.633e-05/0.4313, allocations: 39.39 kB / 0.7346 GB, free: 27.01 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 2.086e-05/0.4313, allocations: 1.344 kB / 0.7347 GB, free: 27.01 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 3.187e-05/0.4314, allocations: 24.88 kB / 0.7347 GB, free: 27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.092e-05/0.4314, allocations: 13.7 kB / 0.7347 GB, free: 27 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 6.522e-06/0.4314, allocations: 1.25 kB / 0.7347 GB, free: 27 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002408/0.4317, allocations: 172.9 kB / 0.7349 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.245e-05/0.4317, allocations: 5.906 kB / 0.7349 GB, free: 26.94 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.71e-05/0.4318, allocations: 12.11 kB / 0.7349 GB, free: 26.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0003334/0.4321, allocations: 174.7 kB / 0.735 GB, free: 26.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.4321, allocations: 5.344 kB / 0.735 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.437e-06/0.4321, allocations: 0 / 0.735 GB, free: 26.88 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.4321, allocations: 0 / 0.735 GB, free: 26.88 MB / 0.6355 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.0004395/0.4325, allocations: 284.9 kB / 0.7353 GB, free: 26.6 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.4326, allocations: 9.938 kB / 0.7353 GB, free: 26.6 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.487e-05/0.4326, allocations: 34.89 kB / 0.7354 GB, free: 26.56 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.104e-05/0.4327, allocations: 6 kB / 0.7354 GB, free: 26.56 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.711e-05/0.4328, allocations: 107.3 kB / 0.7355 GB, free: 26.43 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.944e-05/0.4328, allocations: 61.05 kB / 0.7355 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.4328, allocations: 1.406 kB / 0.7355 GB, free: 26.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001651/0.433, allocations: 75.61 kB / 0.7356 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.433, allocations: 0 / 0.7356 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.433, allocations: 1.062 kB / 0.7356 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.4331, allocations: 1.062 kB / 0.7356 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.56e-05/0.4331, allocations: 16.61 kB / 0.7356 GB, free: 26.29 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007099/0.4338, allocations: 280.6 kB / 0.7359 GB, free: 26.04 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.836e-05/0.4339, allocations: 16.89 kB / 0.7359 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.739e-05/0.4339, allocations: 10.11 kB / 0.7359 GB, free: 26 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.52e-05/0.4339, allocations: 33.91 kB / 0.7359 GB, free: 26 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.841e-05/0.434, allocations: 31.91 kB / 0.736 GB, free: 25.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.434, allocations: 0 / 0.736 GB, free: 25.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001372/0.4341, allocations: 43.47 kB / 0.736 GB, free: 25.92 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.989e-05/0.4341, allocations: 51.41 kB / 0.7361 GB, free: 25.86 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.357e-05/0.4342, allocations: 96.83 kB / 0.7362 GB, free: 25.76 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.929e-06/0.4342, allocations: 29.03 kB / 0.7362 GB, free: 25.73 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.974e-05/0.4342, allocations: 90.69 kB / 0.7363 GB, free: 25.64 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.4342, allocations: 5.109 kB / 0.7363 GB, free: 25.63 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.575e-05/0.4343, allocations: 13.66 kB / 0.7363 GB, free: 25.62 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.774e-05/0.4343, allocations: 327.4 kB / 0.7366 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.4343, allocations: 2.469 kB / 0.7366 GB, free: 25.29 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.847e-05/0.4343, allocations: 13.97 kB / 0.7366 GB, free: 25.28 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.908e-05/0.4344, allocations: 27.77 kB / 0.7366 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4344, allocations: 0 / 0.7366 GB, free: 25.25 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.169e-05/0.4344, allocations: 51 kB / 0.7367 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4344, allocations: 4.156 kB / 0.7367 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.4344, allocations: 1.469 kB / 0.7367 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.27e-05/0.4344, allocations: 5.25 kB / 0.7367 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.266e-05/0.4345, allocations: 4 kB / 0.7367 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.57e-06/0.4345, allocations: 5.094 kB / 0.7367 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.4345, allocations: 1.125 kB / 0.7367 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.666e-06/0.4345, allocations: 2.281 kB / 0.7367 GB, free: 25.21 MB / 0.6355 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 3.924e-05/0.4345, allocations: 116.1 kB / 0.7368 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.306e-05/0.4346, allocations: 5.141 kB / 0.7368 GB, free: 25.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.381e-05/0.4346, allocations: 131.5 kB / 0.737 GB, free: 24.96 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-05/0.4347, allocations: 181.8 kB / 0.7371 GB, free: 24.77 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.22e-05/0.4347, allocations: 181.7 kB / 0.7373 GB, free: 24.59 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.361e-05/0.4347, allocations: 177.6 kB / 0.7375 GB, free: 24.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.361e-05/0.4348, allocations: 391 kB / 0.7378 GB, free: 23.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.668e-06/0.4348, allocations: 102.2 kB / 0.7379 GB, free: 23.88 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.236e-05/0.4348, allocations: 115.9 kB / 0.738 GB, free: 23.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-05/0.4348, allocations: 177.5 kB / 0.7382 GB, free: 23.59 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.737e-05/0.4348, allocations: 181.4 kB / 0.7384 GB, free: 23.4 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.608e-05/0.4348, allocations: 183.6 kB / 0.7386 GB, free: 23.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.88e-05/0.4349, allocations: 178.4 kB / 0.7387 GB, free: 23.04 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.876e-05/0.4349, allocations: 307.8 kB / 0.739 GB, free: 22.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 1.402e-05/0.4349, allocations: 107 kB / 0.7391 GB, free: 22.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.491e-05/0.435, allocations: 186.4 kB / 0.7393 GB, free: 22.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.762e-05/0.435, allocations: 107 kB / 0.7394 GB, free: 22.32 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/0.4351, allocations: 181.3 kB / 0.7396 GB, free: 22.14 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.647e-06/0.4351, allocations: 102 kB / 0.7397 GB, free: 22.03 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.205e-05/0.4351, allocations: 88.66 kB / 0.7398 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4351, allocations: 0 / 0.7398 GB, free: 21.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002167/0.4353, allocations: 56.42 kB / 0.7398 GB, free: 21.94 MB / 0.6355 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.0003489/0.4356, allocations: 0.8872 MB / 0.7407 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.293e-05/0.4357, allocations: 9.438 kB / 0.7407 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.4357, allocations: 1 kB / 0.7407 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.62e-07/0.4357, allocations: 0 / 0.7407 GB, free: 21.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002342/0.436, allocations: 463.8 kB / 0.7411 GB, free: 20.65 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007142/0.4367, allocations: 1.355 MB / 0.7425 GB, free: 19.29 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.225e-05/0.4367, allocations: 59 kB / 0.7425 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.4367, allocations: 6.344 kB / 0.7425 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.948e-05/0.4368, allocations: 9.938 kB / 0.7425 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of SimCode: time 6.01e-07/0.4368, allocations: 0 / 0.7425 GB, free: 19.22 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01605/0.4528, allocations: 2.905 MB / 0.7454 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.856/7.309, allocations: 7.484 kB / 0.7454 GB, free: 18.21 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_SteamTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.SteamTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.935267862863839] Failed to read output from testmodel.py, exit status != 0: 7.387282091192901 7.396742757 6.962759291 Calling exit ...