Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.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.000977/0.000977, 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.0009922/0.0009922, allocations: 165.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.9082/0.9082, allocations: 177.1 MB / 202.8 MB, free: 5.73 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.7093/0.7093, allocations: 154.6 MB / 413.7 MB, free: 0.8047 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.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.082e-05/2.286e-05, allocations: 2.281 kB / 0.6181 GB, free: 13.52 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.PropyleneGlycolWaterProperties): time 0.004788/0.004811, allocations: 4.23 MB / 0.6222 GB, free: 9.266 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.001876/0.006687, allocations: 2.449 MB / 0.6246 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.047e-05/0.006777, allocations: 0 / 0.6246 GB, free: 6.809 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.007095, allocations: 43.69 kB / 0.6247 GB, free: 6.766 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002663/0.007361, allocations: 103.3 kB / 0.6248 GB, free: 6.664 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001111/0.008472, allocations: 0.5236 MB / 0.6253 GB, free: 6.141 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0002407/0.008713, allocations: 243.8 kB / 0.6255 GB, free: 5.898 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.093e-05/0.008764, allocations: 17.8 kB / 0.6255 GB, free: 5.883 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009369/0.009701, allocations: 0.5141 MB / 0.626 GB, free: 5.367 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001267/0.009827, allocations: 71.78 kB / 0.6261 GB, free: 5.297 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.711e-05/0.009855, allocations: 11.94 kB / 0.6261 GB, free: 5.285 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008101/0.01066, allocations: 0.4909 MB / 0.6266 GB, free: 4.793 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 6.852e-05/0.01073, allocations: 31.89 kB / 0.6266 GB, free: 4.762 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 5.523e-05/0.01079, allocations: 59.84 kB / 0.6267 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0004913/0.01128, allocations: 362.9 kB / 0.627 GB, free: 4.348 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.01128, allocations: 4 kB / 0.627 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.863e-06/0.01129, allocations: 0 / 0.627 GB, free: 4.344 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.01129, allocations: 3.938 kB / 0.627 GB, free: 4.34 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.0006261/0.01192, allocations: 441.5 kB / 0.6275 GB, free: 3.875 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.01196, allocations: 8.031 kB / 0.6275 GB, free: 3.867 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.369e-05/0.012, allocations: 50.73 kB / 0.6275 GB, free: 3.809 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001214/0.01212, allocations: 24.84 kB / 0.6275 GB, free: 3.785 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002803/0.0124, allocations: 157.5 kB / 0.6277 GB, free: 3.605 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.01242, allocations: 12.7 kB / 0.6277 GB, free: 3.594 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.01244, allocations: 16.38 kB / 0.6277 GB, free: 3.578 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003746/0.01281, allocations: 468.1 kB / 0.6282 GB, free: 3.051 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.066e-05/0.01282, allocations: 4.125 kB / 0.6282 GB, free: 3.047 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.01285, allocations: 11.94 kB / 0.6282 GB, free: 3.035 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.07e-05/0.01288, allocations: 4 kB / 0.6282 GB, free: 3.031 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003398/0.01322, allocations: 427.4 kB / 0.6286 GB, free: 2.613 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008681/0.01409, allocations: 0.8674 MB / 0.6294 GB, free: 1.684 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.01435, allocations: 143.5 kB / 0.6296 GB, free: 1.531 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.233e-05/0.01442, allocations: 60.38 kB / 0.6296 GB, free: 1.473 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005171/0.01494, allocations: 455.8 kB / 0.6301 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.223e-05/0.01496, allocations: 38.56 kB / 0.6301 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.903e-06/0.01496, allocations: 0 / 0.6301 GB, free: 0.9609 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002699/0.01523, allocations: 140.5 kB / 0.6302 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.01526, allocations: 55.39 kB / 0.6303 GB, free: 0.7539 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.01539, allocations: 181.4 kB / 0.6305 GB, free: 0.5625 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.01541, allocations: 29.7 kB / 0.6305 GB, free: 0.5273 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.292e-05/0.01548, allocations: 140.2 kB / 0.6306 GB, free: 396 kB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.909e-05/0.01551, allocations: 67.47 kB / 0.6307 GB, free: 328 kB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.225e-05/0.01556, allocations: 49.7 kB / 0.6307 GB, free: 272 kB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.01568, allocations: 326.8 kB / 0.631 GB, free: 15.94 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.744e-05/0.01572, allocations: 35.92 kB / 0.6311 GB, free: 15.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.258e-05/0.01582, allocations: 137.7 kB / 0.6312 GB, free: 15.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001703/0.01599, allocations: 193.5 kB / 0.6314 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.995e-06/0.01599, allocations: 0 / 0.6314 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002308/0.01622, allocations: 217.1 kB / 0.6316 GB, free: 15.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/0.01624, allocations: 8 kB / 0.6316 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.026e-05/0.01625, allocations: 4 kB / 0.6316 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.771e-05/0.01627, allocations: 4 kB / 0.6316 GB, free: 15.25 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.0164, allocations: 64.31 kB / 0.6317 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.939e-06/0.01641, allocations: 4 kB / 0.6317 GB, free: 15.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.131e-05/0.01648, allocations: 39.72 kB / 0.6317 GB, free: 15.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.0165, allocations: 19.98 kB / 0.6317 GB, free: 15.12 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 9.599e-05/0.01659, allocations: 133.7 kB / 0.6319 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.203e-05/0.01663, allocations: 15.91 kB / 0.6319 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002555/0.01688, allocations: 149.5 kB / 0.632 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.067e-05/0.01689, allocations: 4 kB / 0.632 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.0169, allocations: 0 / 0.632 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.267e-06/0.01691, allocations: 7.922 kB / 0.632 GB, free: 14.8 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.01709, allocations: 176.7 kB / 0.6322 GB, free: 14.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.01709, allocations: 4 kB / 0.6322 GB, free: 14.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.603e-05/0.01716, allocations: 27.98 kB / 0.6322 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.01716, allocations: 3.938 kB / 0.6322 GB, free: 14.55 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.01717, allocations: 11.94 kB / 0.6323 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.01718, allocations: 0 / 0.6323 GB, free: 14.54 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.01718, allocations: 7.922 kB / 0.6323 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000197/0.01738, allocations: 219.4 kB / 0.6325 GB, free: 14.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.218e-05/0.01743, allocations: 31.81 kB / 0.6325 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.01745, allocations: 0 / 0.6325 GB, free: 14.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001111/0.01756, allocations: 15.98 kB / 0.6325 GB, free: 14.25 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.947e-05/0.01758, allocations: 11.98 kB / 0.6325 GB, free: 14.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.01759, allocations: 19.92 kB / 0.6325 GB, free: 14.22 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.448e-05/0.01766, allocations: 124.9 kB / 0.6327 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01766, allocations: 0 / 0.6327 GB, free: 14.1 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002991/0.01796, allocations: 75.86 kB / 0.6327 GB, free: 14.03 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.0006001/0.01856, allocations: 0.8393 MB / 0.6336 GB, free: 13.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002021/0.01876, allocations: 115.7 kB / 0.6337 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.01876, allocations: 4 kB / 0.6337 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 4.109e-05/0.0188, allocations: 39.92 kB / 0.6337 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003301/0.01913, allocations: 70.62 kB / 0.6338 GB, free: 12.95 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.02092, allocations: 2.012 MB / 0.6357 GB, free: 10.76 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.307e-05/0.021, allocations: 99.23 kB / 0.6358 GB, free: 10.65 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001296/0.02113, allocations: 45.8 kB / 0.6359 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.826e-05/0.0212, allocations: 44.48 kB / 0.6359 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of SimCode: time 1.453e-06/0.0212, allocations: 0 / 0.6359 GB, free: 10.56 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02176/0.04296, allocations: 6.128 MB / 0.6419 GB, free: 4.66 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.086/7.129, allocations: 10.5 kB / 0.6419 GB, free: 4.656 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Media_Examples_PropyleneGlycolWaterProperties.fmu > IDEAS_IDEAS.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.000099926255643] Failed to read output from testmodel.py, exit status != 0: 7.2148801339790225 7.225086769 7.211577893 Calling exit ...