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.0009258/0.0009258, 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.000859/0.000859, allocations: 170.3 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.8878/0.8878, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.721/0.721, allocations: 154.6 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.503e-06/1.503e-06, allocations: 0 / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.499e-05/1.649e-05, allocations: 5.875 kB / 0.618 GB, free: 13.77 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.003713/0.003729, allocations: 3.892 MB / 0.6218 GB, free: 9.848 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.000126/0.003855, allocations: 143.4 kB / 0.622 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.293e-05/0.003878, allocations: 0 / 0.622 GB, free: 9.707 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 9.312e-05/0.003971, allocations: 3.938 kB / 0.622 GB, free: 9.703 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 6.543e-05/0.004037, allocations: 19.91 kB / 0.622 GB, free: 9.684 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002659/0.004303, allocations: 79.69 kB / 0.6221 GB, free: 9.605 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 7.123e-05/0.004374, allocations: 39.84 kB / 0.6221 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 3.395e-05/0.004408, allocations: 0 / 0.6221 GB, free: 9.566 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 4.81e-05/0.004456, allocations: 27.91 kB / 0.6221 GB, free: 9.539 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.324e-05/0.004519, allocations: 7.984 kB / 0.6221 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.135e-05/0.004531, allocations: 0 / 0.6221 GB, free: 9.531 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001515/0.004682, allocations: 59.73 kB / 0.6222 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 4.312e-05/0.004725, allocations: 0 / 0.6222 GB, free: 9.473 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 1.752e-05/0.004743, allocations: 15.98 kB / 0.6222 GB, free: 9.457 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0001118/0.004854, allocations: 67.8 kB / 0.6223 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.004857, allocations: 0 / 0.6223 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004857, allocations: 0 / 0.6223 GB, free: 9.391 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 3.577e-06/0.004861, allocations: 0 / 0.6223 GB, free: 9.391 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.0002882/0.005149, allocations: 258.3 kB / 0.6225 GB, free: 9.109 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.737e-05/0.005187, allocations: 13.47 kB / 0.6225 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.748e-05/0.005214, allocations: 30.75 kB / 0.6226 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.764e-05/0.005242, allocations: 0.9375 kB / 0.6226 GB, free: 9.059 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.118e-05/0.005313, allocations: 113.7 kB / 0.6227 GB, free: 8.922 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.005366, allocations: 55.97 kB / 0.6227 GB, free: 8.855 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.534e-06/0.005374, allocations: 8.375 kB / 0.6227 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.005486, allocations: 71.88 kB / 0.6228 GB, free: 8.766 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.005494, allocations: 3.938 kB / 0.6228 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.005502, allocations: 0 / 0.6228 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.506e-05/0.005517, allocations: 0 / 0.6228 GB, free: 8.762 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.625e-05/0.005553, allocations: 19.98 kB / 0.6228 GB, free: 8.742 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003259/0.005879, allocations: 228 kB / 0.623 GB, free: 8.477 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 3.236e-05/0.005912, allocations: 22.45 kB / 0.6231 GB, free: 8.445 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.259e-05/0.005924, allocations: 8.922 kB / 0.6231 GB, free: 8.434 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 3.833e-05/0.005963, allocations: 8 kB / 0.6231 GB, free: 8.426 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.787e-05/0.00598, allocations: 34.55 kB / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.005981, allocations: 0 / 0.6231 GB, free: 8.383 MB / 0.5886 GB Notification: Performance of matching and sorting (n=1): time 0.000113/0.006094, allocations: 37.7 kB / 0.6231 GB, free: 8.34 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.396e-05/0.006118, allocations: 51.41 kB / 0.6232 GB, free: 8.277 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.511e-05/0.006173, allocations: 105.8 kB / 0.6233 GB, free: 8.164 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.041e-05/0.006184, allocations: 25.7 kB / 0.6233 GB, free: 8.133 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.302e-05/0.006217, allocations: 84.09 kB / 0.6234 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 5.58e-06/0.006222, allocations: 3.953 kB / 0.6234 GB, free: 8.043 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.006246, allocations: 25.59 kB / 0.6234 GB, free: 8.012 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.121e-05/0.006317, allocations: 319 kB / 0.6237 GB, free: 7.691 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.358e-06/0.006327, allocations: 4 kB / 0.6237 GB, free: 7.688 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.006346, allocations: 17.89 kB / 0.6237 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.092e-05/0.006377, allocations: 25.66 kB / 0.6238 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006379, allocations: 0 / 0.6238 GB, free: 7.633 MB / 0.5886 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.686e-05/0.006426, allocations: 49.62 kB / 0.6238 GB, free: 7.578 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.066e-05/0.006436, allocations: 8 kB / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.00644, allocations: 0 / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.039e-05/0.006451, allocations: 64 / 0.6238 GB, free: 7.57 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.549e-05/0.006486, allocations: 11.98 kB / 0.6238 GB, free: 7.559 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.072e-06/0.006492, allocations: 4 kB / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.185e-05/0.006504, allocations: 0 / 0.6238 GB, free: 7.555 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.955e-06/0.006512, allocations: 0 / 0.6238 GB, free: 7.555 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 0.0001566/0.006669, allocations: 118.8 kB / 0.624 GB, free: 7.43 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.406e-05/0.006683, allocations: 3.953 kB / 0.624 GB, free: 7.426 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.243e-05/0.006765, allocations: 120.9 kB / 0.6241 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-05/0.00681, allocations: 184.3 kB / 0.6243 GB, free: 7.113 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-05/0.006852, allocations: 180.2 kB / 0.6244 GB, free: 6.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.177e-05/0.006894, allocations: 184.3 kB / 0.6246 GB, free: 6.742 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001409/0.007035, allocations: 376.2 kB / 0.625 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.478e-05/0.00706, allocations: 112.9 kB / 0.6251 GB, free: 6.207 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.259e-05/0.007082, allocations: 105 kB / 0.6252 GB, free: 6.098 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.965e-05/0.007122, allocations: 184.2 kB / 0.6253 GB, free: 5.91 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.266e-05/0.007164, allocations: 176.3 kB / 0.6255 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.8e-05/0.007202, allocations: 184.2 kB / 0.6257 GB, free: 5.543 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.883e-05/0.007241, allocations: 180.2 kB / 0.6259 GB, free: 5.359 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.261e-05/0.007334, allocations: 315.7 kB / 0.6262 GB, free: 5.027 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.798e-05/0.007362, allocations: 101 kB / 0.6263 GB, free: 4.922 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.344e-05/0.007415, allocations: 188.1 kB / 0.6264 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.733e-05/0.007513, allocations: 109 kB / 0.6265 GB, free: 4.617 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.37e-05/0.007556, allocations: 180.3 kB / 0.6267 GB, free: 4.434 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.459e-05/0.007581, allocations: 108.9 kB / 0.6268 GB, free: 4.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.143e-05/0.007612, allocations: 83.28 kB / 0.6269 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5e-08/0.007612, allocations: 0 / 0.6269 GB, free: 4.238 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001675/0.00778, allocations: 16 kB / 0.6269 GB, free: 4.223 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.0003169/0.008097, allocations: 0.8284 MB / 0.6277 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 5.999e-05/0.008157, allocations: 15.92 kB / 0.6277 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.008159, allocations: 4.125 kB / 0.6277 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.71e-07/0.008159, allocations: 0 / 0.6277 GB, free: 3.348 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003213/0.008481, allocations: 461.9 kB / 0.6282 GB, free: 2.895 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007498/0.00923, allocations: 1.327 MB / 0.6295 GB, free: 1.48 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.122e-05/0.009272, allocations: 59.34 kB / 0.6295 GB, free: 1.402 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 3.053e-05/0.009302, allocations: 4 kB / 0.6295 GB, free: 1.398 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.571e-05/0.009328, allocations: 20.5 kB / 0.6296 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of SimCode: time 4.21e-07/0.009328, allocations: 0 / 0.6296 GB, free: 1.375 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01405/0.02337, allocations: 2.154 MB / 0.6317 GB, free: 15.36 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.977/7, allocations: 13.28 kB / 0.6317 GB, free: 15.35 MB / 0.6042 GB " [Timeout remaining time 653] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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: 9.794410780072212] Failed to read output from testmodel.py, exit status != 0: 7.080618221312761 7.093879834 7.086524977 Calling exit ...