Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.000952/0.000952, 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.001019/0.001019, 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.892/0.892, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.725/0.725, allocations: 154.5 MB / 413.7 MB, free: 0.8281 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.701e-05/1.838e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003475/0.003493, allocations: 3.9 MB / 0.6218 GB, free: 9.797 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001057/0.003599, allocations: 139.5 kB / 0.622 GB, free: 9.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.178e-05/0.003621, allocations: 4 kB / 0.622 GB, free: 9.656 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.47e-05/0.003715, allocations: 7.922 kB / 0.622 GB, free: 9.648 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.606e-05/0.003782, allocations: 7.938 kB / 0.622 GB, free: 9.641 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002634/0.004045, allocations: 94.73 kB / 0.6221 GB, free: 9.551 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.984e-05/0.004115, allocations: 35.84 kB / 0.6221 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.004148, allocations: 0 / 0.6221 GB, free: 9.516 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.564e-05/0.004194, allocations: 19.97 kB / 0.6221 GB, free: 9.496 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.02e-05/0.004254, allocations: 11.98 kB / 0.6221 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.123e-05/0.004265, allocations: 0 / 0.6221 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001404/0.004406, allocations: 59.75 kB / 0.6222 GB, free: 9.426 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.773e-05/0.004454, allocations: 7.984 kB / 0.6222 GB, free: 9.418 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.989e-05/0.004473, allocations: 7.938 kB / 0.6222 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001151/0.004589, allocations: 67.84 kB / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00459, allocations: 0 / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004591, allocations: 0 / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.276e-06/0.004594, allocations: 0 / 0.6223 GB, free: 9.344 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.0002796/0.004874, allocations: 258.3 kB / 0.6225 GB, free: 9.062 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.00491, allocations: 9.469 kB / 0.6225 GB, free: 9.055 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.554e-05/0.004935, allocations: 30.75 kB / 0.6226 GB, free: 9.016 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.701e-05/0.004963, allocations: 8.938 kB / 0.6226 GB, free: 9.008 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.222e-05/0.005035, allocations: 113.7 kB / 0.6227 GB, free: 8.871 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.532e-05/0.00509, allocations: 55.97 kB / 0.6227 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.005097, allocations: 384 / 0.6227 GB, free: 8.805 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.005205, allocations: 71.89 kB / 0.6228 GB, free: 8.723 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.005213, allocations: 3.938 kB / 0.6228 GB, free: 8.719 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.005223, allocations: 4 kB / 0.6228 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.005238, allocations: 3.938 kB / 0.6228 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.994e-05/0.005278, allocations: 15.98 kB / 0.6228 GB, free: 8.695 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003165/0.005594, allocations: 227.9 kB / 0.623 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.561e-05/0.00563, allocations: 22.58 kB / 0.6231 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.318e-05/0.005643, allocations: 12.78 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.088e-05/0.005684, allocations: 8.062 kB / 0.6231 GB, free: 8.375 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.471e-05/0.005709, allocations: 34.56 kB / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.00571, allocations: 0 / 0.6231 GB, free: 8.332 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001186/0.005828, allocations: 33.7 kB / 0.6231 GB, free: 8.293 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.873e-05/0.005857, allocations: 59.39 kB / 0.6232 GB, free: 8.223 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.705e-05/0.005914, allocations: 93.86 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.027e-05/0.005925, allocations: 25.7 kB / 0.6233 GB, free: 8.09 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 4.557e-05/0.00597, allocations: 96.22 kB / 0.6234 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.434e-06/0.005978, allocations: 11.92 kB / 0.6234 GB, free: 7.98 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.237e-05/0.006, allocations: 13.72 kB / 0.6234 GB, free: 7.961 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0002304/0.00623, allocations: 318.8 kB / 0.6237 GB, free: 7.641 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.28e-05/0.006243, allocations: 4 kB / 0.6237 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.869e-05/0.006262, allocations: 17.7 kB / 0.6238 GB, free: 7.613 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.006289, allocations: 25.66 kB / 0.6238 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.006292, allocations: 0 / 0.6238 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.011e-05/0.006342, allocations: 53.66 kB / 0.6238 GB, free: 7.523 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.006353, allocations: 4 kB / 0.6238 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.006358, allocations: 0 / 0.6238 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.167e-05/0.006369, allocations: 4.281 kB / 0.6238 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.594e-05/0.006405, allocations: 4 kB / 0.6238 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.00641, allocations: 0 / 0.6238 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.106e-05/0.006421, allocations: 0 / 0.6238 GB, free: 7.512 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.00643, allocations: 4 kB / 0.6238 GB, free: 7.508 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.223e-05/0.006482, allocations: 114.8 kB / 0.624 GB, free: 7.387 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.595e-05/0.006498, allocations: 11.94 kB / 0.624 GB, free: 7.375 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.764e-05/0.006585, allocations: 125 kB / 0.6241 GB, free: 7.246 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-05/0.006625, allocations: 180.3 kB / 0.6243 GB, free: 7.062 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.233e-05/0.006667, allocations: 184.2 kB / 0.6244 GB, free: 6.875 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.673e-05/0.006704, allocations: 180.3 kB / 0.6246 GB, free: 6.691 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.006837, allocations: 380.2 kB / 0.625 GB, free: 6.27 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.208e-05/0.006859, allocations: 104.9 kB / 0.6251 GB, free: 6.16 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.482e-05/0.006884, allocations: 105 kB / 0.6252 GB, free: 6.051 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.207e-05/0.006926, allocations: 188.1 kB / 0.6253 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.099e-05/0.006967, allocations: 184.2 kB / 0.6255 GB, free: 5.672 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.985e-05/0.007007, allocations: 176.3 kB / 0.6257 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.954e-05/0.007046, allocations: 192.2 kB / 0.6259 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.06e-05/0.007137, allocations: 303.7 kB / 0.6262 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.842e-05/0.007175, allocations: 109 kB / 0.6263 GB, free: 4.863 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.415e-05/0.007229, allocations: 188.1 kB / 0.6264 GB, free: 4.672 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.007316, allocations: 105 kB / 0.6265 GB, free: 4.562 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.924e-05/0.007355, allocations: 176.3 kB / 0.6267 GB, free: 4.383 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.36e-05/0.007379, allocations: 108.9 kB / 0.6268 GB, free: 4.27 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.144e-05/0.00741, allocations: 91.27 kB / 0.6269 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.00741, allocations: 0 / 0.6269 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001538/0.007564, allocations: 12 kB / 0.6269 GB, free: 4.168 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.0002812/0.007845, allocations: 0.8285 MB / 0.6277 GB, free: 3.312 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.196e-05/0.007897, allocations: 7.938 kB / 0.6277 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.007899, allocations: 0 / 0.6277 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 2.254e-06/0.007901, allocations: 4 kB / 0.6277 GB, free: 3.301 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.008175, allocations: 459.7 kB / 0.6282 GB, free: 2.848 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006587/0.008833, allocations: 1.327 MB / 0.6295 GB, free: 1.43 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.697e-05/0.00887, allocations: 59.34 kB / 0.6295 GB, free: 1.352 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 2.767e-05/0.008898, allocations: 8.125 kB / 0.6295 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.16e-05/0.00892, allocations: 8.5 kB / 0.6295 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of SimCode: time 4.81e-07/0.00892, allocations: 0 / 0.6295 GB, free: 1.332 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01356/0.02248, allocations: 2.155 MB / 0.6316 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.489/7.511, allocations: 5.219 kB / 0.6317 GB, free: 15.31 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.171585998497903] Failed to read output from testmodel.py, exit status != 0: 7.595334641635418 7.607718165 7.600871534 Calling exit ...