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.0008191/0.0008191, 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.0008392/0.0008392, 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.8925/0.8925, allocations: 177.1 MB / 202.8 MB, free: 5.75 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.6986/0.6986, allocations: 154.6 MB / 413.8 MB, free: 0.8125 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.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.023e-06/2.023e-06, allocations: 0 / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.147e-05/2.349e-05, allocations: 5.875 kB / 0.6181 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.0048/0.004823, allocations: 3.899 MB / 0.6219 GB, free: 9.801 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0001372/0.00496, allocations: 139.5 kB / 0.622 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.651e-05/0.004987, allocations: 0 / 0.622 GB, free: 9.664 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001097/0.005097, allocations: 11.92 kB / 0.622 GB, free: 9.652 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.689e-05/0.005173, allocations: 7.984 kB / 0.622 GB, free: 9.645 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003477/0.005521, allocations: 87.61 kB / 0.6221 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 8.511e-05/0.005606, allocations: 31.84 kB / 0.6221 GB, free: 9.527 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.005655, allocations: 7.984 kB / 0.6222 GB, free: 9.52 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.005713, allocations: 15.98 kB / 0.6222 GB, free: 9.504 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 7.334e-05/0.005787, allocations: 19.91 kB / 0.6222 GB, free: 9.484 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.327e-05/0.0058, allocations: 4 kB / 0.6222 GB, free: 9.48 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001821/0.005982, allocations: 67.67 kB / 0.6223 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.676e-05/0.006029, allocations: 0 / 0.6223 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.151e-05/0.00605, allocations: 4 kB / 0.6223 GB, free: 9.41 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001323/0.006183, allocations: 63.84 kB / 0.6223 GB, free: 9.348 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.006187, allocations: 4 kB / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.353e-06/0.006188, allocations: 0 / 0.6223 GB, free: 9.344 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.006193, 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.0003498/0.006542, allocations: 262.3 kB / 0.6226 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.006589, allocations: 8.031 kB / 0.6226 GB, free: 9.051 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.578e-05/0.006625, allocations: 46.73 kB / 0.6226 GB, free: 8.996 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.847e-05/0.006663, allocations: 4.891 kB / 0.6226 GB, free: 8.992 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.798e-05/0.006751, allocations: 105.7 kB / 0.6227 GB, free: 8.863 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/0.006825, allocations: 55.97 kB / 0.6228 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.144e-06/0.006832, allocations: 384 / 0.6228 GB, free: 8.797 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000119/0.006951, allocations: 71.95 kB / 0.6229 GB, free: 8.715 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.00696, allocations: 3.938 kB / 0.6229 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.057e-06/0.006969, allocations: 0 / 0.6229 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.779e-05/0.006987, allocations: 0 / 0.6229 GB, free: 8.711 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.819e-05/0.007025, allocations: 11.98 kB / 0.6229 GB, free: 8.699 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003846/0.00741, allocations: 232 kB / 0.6231 GB, free: 8.43 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 4.068e-05/0.00745, allocations: 26.52 kB / 0.6231 GB, free: 8.395 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.308e-05/0.007464, allocations: 4.859 kB / 0.6231 GB, free: 8.387 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 4.3e-05/0.007507, allocations: 8.062 kB / 0.6231 GB, free: 8.379 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.007528, allocations: 30.56 kB / 0.6232 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.363e-06/0.00753, allocations: 0 / 0.6232 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.0001311/0.007661, allocations: 45.56 kB / 0.6232 GB, free: 8.289 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.765e-05/0.007688, allocations: 51.41 kB / 0.6232 GB, free: 8.227 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.613e-05/0.007754, allocations: 97.86 kB / 0.6233 GB, free: 8.121 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.007768, allocations: 33.83 kB / 0.6234 GB, free: 8.082 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.664e-05/0.007804, allocations: 88.08 kB / 0.6235 GB, free: 7.992 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 7.063e-06/0.007811, allocations: 7.953 kB / 0.6235 GB, free: 7.984 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.649e-05/0.007838, allocations: 13.72 kB / 0.6235 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.405e-05/0.007912, allocations: 310.8 kB / 0.6238 GB, free: 7.652 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.26e-05/0.007924, allocations: 8 kB / 0.6238 GB, free: 7.645 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.941e-05/0.007944, allocations: 17.7 kB / 0.6238 GB, free: 7.621 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.878e-05/0.007973, allocations: 25.66 kB / 0.6238 GB, free: 7.59 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.007975, allocations: 3.938 kB / 0.6238 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.149e-05/0.008026, allocations: 45.69 kB / 0.6239 GB, free: 7.535 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.008039, allocations: 8 kB / 0.6239 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.008044, allocations: 0 / 0.6239 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.008054, allocations: 0 / 0.6239 GB, free: 7.527 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.625e-05/0.008101, allocations: 8 kB / 0.6239 GB, free: 7.52 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.008107, allocations: 3.938 kB / 0.6239 GB, free: 7.516 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.571e-05/0.008123, allocations: 11.88 kB / 0.6239 GB, free: 7.504 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.084e-05/0.008134, allocations: 3.984 kB / 0.6239 GB, free: 7.5 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.78e-05/0.008191, allocations: 114.8 kB / 0.624 GB, free: 7.379 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.008206, allocations: 8.016 kB / 0.624 GB, free: 7.371 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001/0.008306, allocations: 121 kB / 0.6241 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.782e-05/0.008374, allocations: 184.2 kB / 0.6243 GB, free: 7.055 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-05/0.008423, allocations: 184.3 kB / 0.6245 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.355e-05/0.008466, allocations: 176.3 kB / 0.6247 GB, free: 6.688 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.00862, allocations: 384.2 kB / 0.625 GB, free: 6.262 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.376e-05/0.008643, allocations: 105 kB / 0.6251 GB, free: 6.152 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.621e-05/0.00867, allocations: 105.2 kB / 0.6252 GB, free: 6.043 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-05/0.008714, allocations: 180.3 kB / 0.6254 GB, free: 5.859 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.594e-05/0.00876, allocations: 176.3 kB / 0.6256 GB, free: 5.68 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.542e-05/0.008806, allocations: 192.2 kB / 0.6257 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.706e-05/0.008853, allocations: 180.3 kB / 0.6259 GB, free: 5.301 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001211/0.008974, allocations: 307.7 kB / 0.6262 GB, free: 4.977 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 3.549e-05/0.009009, allocations: 105 kB / 0.6263 GB, free: 4.867 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.219e-05/0.009071, allocations: 188.2 kB / 0.6265 GB, free: 4.676 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001028/0.009174, allocations: 105 kB / 0.6266 GB, free: 4.566 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.751e-05/0.009222, allocations: 184.1 kB / 0.6268 GB, free: 4.379 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002736/0.009495, allocations: 113 kB / 0.6269 GB, free: 4.262 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.009533, allocations: 83.28 kB / 0.627 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of sort global known variables: time 6e-08/0.009533, allocations: 0 / 0.627 GB, free: 4.18 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001808/0.009714, allocations: 15.94 kB / 0.627 GB, free: 4.164 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.0003411/0.01006, allocations: 0.8323 MB / 0.6278 GB, free: 3.305 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 6.963e-05/0.01012, allocations: 12 kB / 0.6278 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.01013, allocations: 0 / 0.6278 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 9.42e-07/0.01013, allocations: 0 / 0.6278 GB, free: 3.293 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.01046, allocations: 461.5 kB / 0.6282 GB, free: 2.84 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007537/0.01122, allocations: 1.324 MB / 0.6295 GB, free: 1.426 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.252e-05/0.01126, allocations: 67.41 kB / 0.6296 GB, free: 1.34 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.582e-05/0.0113, allocations: 4 kB / 0.6296 GB, free: 1.336 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.763e-05/0.01132, allocations: 8.5 kB / 0.6296 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of SimCode: time 8.31e-07/0.01132, allocations: 0 / 0.6296 GB, free: 1.324 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01508/0.0264, allocations: 2.154 MB / 0.6317 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.202/7.229, allocations: 6.359 kB / 0.6317 GB, free: 15.31 MB / 0.6042 GB " [Timeout remaining time 653] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_WaterTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.850379653275013] Failed to read output from testmodel.py, exit status != 0: 7.308379486203194 7.316850502 7.308902471 Calling exit ...