Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterProperties.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.001112/0.001112, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.001672/0.001672, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.9428/0.9428, 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.7331/0.7331, allocations: 154.5 MB / 413.7 MB, free: 0.8398 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.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.935e-05/3.18e-05, allocations: 9.031 kB / 0.6181 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005532/0.005564, allocations: 4.494 MB / 0.6225 GB, free: 9.137 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001837/0.007402, allocations: 2.449 MB / 0.6249 GB, free: 6.68 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.007506, allocations: 8 kB / 0.6249 GB, free: 6.672 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002906/0.007796, allocations: 47.62 kB / 0.6249 GB, free: 6.625 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002748/0.008071, allocations: 99.23 kB / 0.625 GB, free: 6.527 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00115/0.009222, allocations: 0.5299 MB / 0.6255 GB, free: 6 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002566/0.009478, allocations: 243.8 kB / 0.6257 GB, free: 5.762 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.931e-05/0.009528, allocations: 5.812 kB / 0.6258 GB, free: 5.758 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002055/0.009733, allocations: 163.5 kB / 0.6259 GB, free: 5.598 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001217/0.009855, allocations: 79.77 kB / 0.626 GB, free: 5.52 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.291e-05/0.009878, allocations: 8 kB / 0.626 GB, free: 5.512 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005549/0.01043, allocations: 319.1 kB / 0.6263 GB, free: 5.199 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.337e-05/0.01052, allocations: 35.88 kB / 0.6263 GB, free: 5.164 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.74e-05/0.01058, allocations: 67.84 kB / 0.6264 GB, free: 5.098 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004677/0.01105, allocations: 375 kB / 0.6268 GB, free: 4.73 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/0.01105, allocations: 4 kB / 0.6268 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.894e-06/0.01106, allocations: 0 / 0.6268 GB, free: 4.727 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.01106, allocations: 3.938 kB / 0.6268 GB, free: 4.723 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006494/0.01171, allocations: 441.5 kB / 0.6272 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.01176, allocations: 9.469 kB / 0.6272 GB, free: 4.25 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.841e-05/0.01181, allocations: 54.73 kB / 0.6272 GB, free: 4.188 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001179/0.01193, allocations: 24.83 kB / 0.6273 GB, free: 4.164 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002746/0.0122, allocations: 153.5 kB / 0.6274 GB, free: 3.988 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.01222, allocations: 16.69 kB / 0.6274 GB, free: 3.973 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.05e-05/0.01224, allocations: 28.36 kB / 0.6275 GB, free: 3.945 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003873/0.01262, allocations: 484.9 kB / 0.6279 GB, free: 3.398 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.082e-05/0.01264, allocations: 4.125 kB / 0.6279 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.203e-05/0.01266, allocations: 11.94 kB / 0.6279 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.718e-05/0.01268, allocations: 11.94 kB / 0.6279 GB, free: 3.371 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003305/0.01302, allocations: 419.3 kB / 0.6283 GB, free: 2.961 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008602/0.01388, allocations: 0.8164 MB / 0.6291 GB, free: 2.086 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003194/0.01419, allocations: 150.7 kB / 0.6293 GB, free: 1.93 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.935e-05/0.01428, allocations: 60.88 kB / 0.6293 GB, free: 1.867 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000576/0.01486, allocations: 447.9 kB / 0.6298 GB, free: 1.41 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.051e-05/0.01489, allocations: 42.44 kB / 0.6298 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.542e-06/0.01489, allocations: 0 / 0.6298 GB, free: 1.359 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002693/0.01516, allocations: 133.6 kB / 0.6299 GB, free: 1.223 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.475e-05/0.0152, allocations: 59.41 kB / 0.63 GB, free: 1.152 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.01531, allocations: 177.4 kB / 0.6302 GB, free: 0.9688 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.01533, allocations: 29.7 kB / 0.6302 GB, free: 0.9336 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.721e-05/0.01541, allocations: 152.1 kB / 0.6303 GB, free: 0.7812 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.651e-05/0.01544, allocations: 55.48 kB / 0.6304 GB, free: 0.7266 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.124e-05/0.01549, allocations: 53.7 kB / 0.6304 GB, free: 0.668 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.562e-05/0.01557, allocations: 322.8 kB / 0.6308 GB, free: 352 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.639e-05/0.01562, allocations: 31.98 kB / 0.6308 GB, free: 320 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.953e-05/0.01572, allocations: 145.6 kB / 0.6309 GB, free: 124 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001721/0.01589, allocations: 196.8 kB / 0.6311 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01589, allocations: 0 / 0.6311 GB, free: 15.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002231/0.01612, allocations: 221.1 kB / 0.6313 GB, free: 15.66 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.68e-05/0.01613, allocations: 10.19 kB / 0.6313 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.01614, allocations: 0 / 0.6313 GB, free: 15.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.01616, allocations: 8 kB / 0.6313 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01627, allocations: 52.39 kB / 0.6314 GB, free: 15.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.137e-06/0.01628, allocations: 11.98 kB / 0.6314 GB, free: 15.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.111e-05/0.01635, allocations: 31.72 kB / 0.6314 GB, free: 15.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.725e-05/0.01637, allocations: 20 kB / 0.6314 GB, free: 15.53 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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 8.076e-05/0.01645, allocations: 129.7 kB / 0.6316 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.062e-05/0.01648, allocations: 19.91 kB / 0.6316 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002174/0.0167, allocations: 151 kB / 0.6317 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.01671, allocations: 4 kB / 0.6317 GB, free: 15.22 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.01671, allocations: 3.938 kB / 0.6317 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.549e-06/0.01672, allocations: 3.938 kB / 0.6317 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000176/0.01689, allocations: 176.7 kB / 0.6319 GB, free: 15 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.01689, allocations: 7.984 kB / 0.6319 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.828e-05/0.01696, allocations: 31.98 kB / 0.632 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.01697, allocations: 0 / 0.632 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.328e-06/0.01698, allocations: 4 kB / 0.632 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.01698, allocations: 0 / 0.632 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01698, allocations: 7.875 kB / 0.632 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.01715, allocations: 230 kB / 0.6322 GB, free: 14.71 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.684e-05/0.01719, allocations: 31.86 kB / 0.6322 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.661e-05/0.01721, allocations: 0 / 0.6322 GB, free: 14.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001051/0.01731, allocations: 23.97 kB / 0.6322 GB, free: 14.65 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.01733, allocations: 7.984 kB / 0.6322 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.01735, allocations: 15.94 kB / 0.6323 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.359e-05/0.01741, allocations: 124.9 kB / 0.6324 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01741, allocations: 0 / 0.6324 GB, free: 14.51 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002878/0.0177, allocations: 83.8 kB / 0.6325 GB, free: 14.43 MB / 0.6042 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.00056/0.01826, allocations: 0.8332 MB / 0.6333 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001923/0.01845, allocations: 114.3 kB / 0.6334 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.01846, allocations: 0 / 0.6334 GB, free: 13.45 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.68e-05/0.01849, allocations: 35.92 kB / 0.6334 GB, free: 13.42 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003091/0.0188, allocations: 64.81 kB / 0.6335 GB, free: 13.36 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.02036, allocations: 2.011 MB / 0.6354 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.337e-05/0.02044, allocations: 99.27 kB / 0.6355 GB, free: 11.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.000125/0.02056, allocations: 53.84 kB / 0.6356 GB, free: 11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.02062, allocations: 44.48 kB / 0.6356 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of SimCode: time 1.303e-06/0.02062, allocations: 0 / 0.6356 GB, free: 10.96 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02376/0.04438, allocations: 6.222 MB / 0.6417 GB, free: 4.957 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.166/7.211, allocations: 3.578 kB / 0.6417 GB, free: 4.957 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.WaterProperties_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_WaterProperties.fmu > IDEAS_dev_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.103588508442044] Failed to read output from testmodel.py, exit status != 0: 7.292791784740984 7.301211652 7.288047133 Calling exit ...