Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001252/0.001252, 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.001139/0.001139, 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.9017/0.9017, 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 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.7332/0.7332, allocations: 154.6 MB / 413.8 MB, free: 0.7852 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.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.WaterProperties,fileNamePrefix="IDEAS_IDEAS_Media_Examples_WaterProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.716e-06/2.716e-06, allocations: 0 / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.646e-05/2.918e-05, allocations: 4.844 kB / 0.6181 GB, free: 13.65 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterProperties): time 0.005903/0.005932, allocations: 4.504 MB / 0.6225 GB, free: 9.117 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002078/0.00801, allocations: 2.449 MB / 0.6249 GB, free: 6.66 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.008143, allocations: 7.938 kB / 0.6249 GB, free: 6.652 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0002876/0.008431, allocations: 47.64 kB / 0.625 GB, free: 6.605 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002813/0.008712, allocations: 107.2 kB / 0.6251 GB, free: 6.5 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001291/0.01, allocations: 0.5227 MB / 0.6256 GB, free: 5.98 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.000302/0.0103, allocations: 251.7 kB / 0.6258 GB, free: 5.73 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 5.275e-05/0.01036, allocations: 9.812 kB / 0.6258 GB, free: 5.723 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002597/0.01062, allocations: 155.5 kB / 0.626 GB, free: 5.57 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001321/0.01075, allocations: 79.77 kB / 0.6261 GB, free: 5.492 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.614e-05/0.01078, allocations: 8 kB / 0.6261 GB, free: 5.484 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00062/0.0114, allocations: 323.1 kB / 0.6264 GB, free: 5.168 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.081e-05/0.01148, allocations: 35.89 kB / 0.6264 GB, free: 5.133 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 7.058e-05/0.01155, allocations: 63.83 kB / 0.6265 GB, free: 5.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0005789/0.01213, allocations: 371 kB / 0.6268 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.01213, allocations: 0 / 0.6268 GB, free: 4.707 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.462e-06/0.01213, allocations: 3.938 kB / 0.6268 GB, free: 4.703 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.01214, allocations: 4 kB / 0.6268 GB, free: 4.699 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.0006824/0.01282, allocations: 449.4 kB / 0.6273 GB, free: 4.227 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.01286, allocations: 8.031 kB / 0.6273 GB, free: 4.219 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.545e-05/0.01291, allocations: 54.73 kB / 0.6273 GB, free: 4.156 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001335/0.01304, allocations: 20.84 kB / 0.6273 GB, free: 4.137 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002586/0.0133, allocations: 153.6 kB / 0.6275 GB, free: 3.961 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.207e-05/0.01331, allocations: 12.7 kB / 0.6275 GB, free: 3.949 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.54e-05/0.01333, allocations: 16.38 kB / 0.6275 GB, free: 3.934 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003492/0.01368, allocations: 489 kB / 0.628 GB, free: 3.383 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.01369, allocations: 8.125 kB / 0.628 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.944e-05/0.01371, allocations: 11.92 kB / 0.628 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.352e-05/0.01373, allocations: 11.98 kB / 0.628 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003138/0.01404, allocations: 419.3 kB / 0.6284 GB, free: 2.941 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008073/0.01485, allocations: 0.8125 MB / 0.6292 GB, free: 2.07 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/0.0151, allocations: 143.5 kB / 0.6293 GB, free: 1.918 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.701e-05/0.01516, allocations: 64.75 kB / 0.6294 GB, free: 1.852 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005026/0.01567, allocations: 447.9 kB / 0.6298 GB, free: 1.395 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.371e-05/0.01569, allocations: 42.48 kB / 0.6299 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=15): time 1.734e-06/0.01569, allocations: 0 / 0.6299 GB, free: 1.344 MB / 0.5886 GB Notification: Performance of matching and sorting (n=15): time 0.0002546/0.01595, allocations: 140.2 kB / 0.63 GB, free: 1.203 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.279e-05/0.01598, allocations: 55.34 kB / 0.6301 GB, free: 1.137 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.01609, allocations: 185.4 kB / 0.6302 GB, free: 0.9453 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.01611, allocations: 25.7 kB / 0.6303 GB, free: 0.9141 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 6.112e-05/0.01617, allocations: 140.2 kB / 0.6304 GB, free: 0.7734 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.895e-05/0.0162, allocations: 67.41 kB / 0.6305 GB, free: 0.707 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.948e-05/0.01625, allocations: 53.7 kB / 0.6305 GB, free: 0.6484 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.01632, allocations: 326.8 kB / 0.6308 GB, free: 328 kB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.579e-05/0.01637, allocations: 31.98 kB / 0.6308 GB, free: 296 kB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.609e-05/0.01645, allocations: 137.7 kB / 0.631 GB, free: 108 kB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001668/0.01662, allocations: 201.4 kB / 0.6312 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.01662, allocations: 0 / 0.6312 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002134/0.01684, allocations: 215.9 kB / 0.6314 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.01685, allocations: 8 kB / 0.6314 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.01686, allocations: 0 / 0.6314 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.01688, allocations: 8 kB / 0.6314 GB, free: 15.63 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001715/0.01705, allocations: 59.91 kB / 0.6314 GB, free: 15.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.01707, allocations: 7.938 kB / 0.6315 GB, free: 15.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001236/0.01719, allocations: 32.19 kB / 0.6315 GB, free: 15.53 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.574e-05/0.01728, allocations: 20 kB / 0.6315 GB, free: 15.51 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.488e-05/0.01737, allocations: 133.7 kB / 0.6316 GB, free: 15.37 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.826e-05/0.0174, allocations: 19.91 kB / 0.6317 GB, free: 15.35 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002118/0.01761, allocations: 151 kB / 0.6318 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/0.01762, allocations: 4 kB / 0.6318 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.01762, allocations: 0 / 0.6318 GB, free: 15.2 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.01763, allocations: 3.938 kB / 0.6318 GB, free: 15.19 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.01779, allocations: 176.6 kB / 0.632 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.01779, allocations: 0 / 0.632 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.447e-05/0.01787, allocations: 43.86 kB / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.387e-06/0.01787, allocations: 0 / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.387e-06/0.01788, allocations: 4 kB / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/0.01788, allocations: 0 / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.01788, allocations: 0 / 0.632 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001767/0.01806, allocations: 231.3 kB / 0.6322 GB, free: 14.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.01811, allocations: 27.88 kB / 0.6323 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.01812, allocations: 4 kB / 0.6323 GB, free: 14.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001001/0.01822, allocations: 11.98 kB / 0.6323 GB, free: 14.64 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.184e-05/0.01825, allocations: 15.92 kB / 0.6323 GB, free: 14.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.648e-05/0.01826, allocations: 19.92 kB / 0.6323 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 6.06e-05/0.01832, allocations: 124.9 kB / 0.6324 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01832, allocations: 0 / 0.6324 GB, free: 14.49 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002932/0.01862, allocations: 87.73 kB / 0.6325 GB, free: 14.4 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.0005884/0.0192, allocations: 0.8318 MB / 0.6333 GB, free: 13.54 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001995/0.0194, allocations: 111.8 kB / 0.6334 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.075e-06/0.01941, allocations: 0 / 0.6334 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.9e-05/0.01945, allocations: 43.91 kB / 0.6335 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003115/0.01976, allocations: 58.7 kB / 0.6335 GB, free: 13.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00169/0.02145, allocations: 2.015 MB / 0.6355 GB, free: 11.15 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.034e-05/0.02152, allocations: 99.23 kB / 0.6356 GB, free: 11.04 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001285/0.02165, allocations: 57.83 kB / 0.6357 GB, free: 10.98 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.508e-05/0.02171, allocations: 44.48 kB / 0.6357 GB, free: 10.94 MB / 0.6042 GB Notification: Performance of SimCode: time 8.32e-07/0.02171, allocations: 3.938 kB / 0.6357 GB, free: 10.93 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02314/0.04485, allocations: 6.216 MB / 0.6418 GB, free: 4.949 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.696/7.741, allocations: 1.25 kB / 0.6418 GB, free: 4.949 MB / 0.6042 GB " [Timeout remaining time 652] (rm -f IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.WaterProperties.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.WaterProperties.pipe >> ../files/IDEAS_IDEAS.Media.Examples.WaterProperties.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Examples_WaterProperties.fmu > IDEAS_IDEAS.Media.Examples.WaterProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.572692013345659] Failed to read output from testmodel.py, exit status != 0: 7.821913007646799 7.830246041 7.816193995 Calling exit ...