Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.0008345/0.0008345, 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.0008805/0.0008805, 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.9329/0.9329, allocations: 177.1 MB / 202.8 MB, free: 5.727 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.702/0.702, allocations: 154.5 MB / 413.7 MB, free: 0.8164 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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.225e-06/2.225e-06, allocations: 0 / 0.6181 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.433e-05/2.655e-05, allocations: 8.469 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.005348/0.005375, allocations: 3.876 MB / 0.6219 GB, free: 9.785 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.007417, allocations: 2.239 MB / 0.6241 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001027/0.007519, allocations: 0 / 0.6241 GB, free: 7.539 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0003232/0.007843, allocations: 43.69 kB / 0.6241 GB, free: 7.496 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002872/0.00813, allocations: 107.2 kB / 0.6242 GB, free: 7.391 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.001093/0.009223, allocations: 0.5598 MB / 0.6248 GB, free: 6.836 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0003007/0.009524, allocations: 275.7 kB / 0.625 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.874e-05/0.009573, allocations: 9.797 kB / 0.625 GB, free: 6.555 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002593/0.009832, allocations: 155.5 kB / 0.6252 GB, free: 6.402 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001323/0.009964, allocations: 79.77 kB / 0.6253 GB, free: 6.324 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.77e-05/0.009992, allocations: 12 kB / 0.6253 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005526/0.01054, allocations: 403.1 kB / 0.6257 GB, free: 5.918 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 8.61e-05/0.01063, allocations: 47.81 kB / 0.6257 GB, free: 5.871 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 6.942e-05/0.0107, allocations: 59.91 kB / 0.6258 GB, free: 5.812 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.00052/0.01122, allocations: 434.7 kB / 0.6262 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.01123, allocations: 0 / 0.6262 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.104e-06/0.01123, allocations: 4 kB / 0.6262 GB, free: 5.383 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.01123, allocations: 0 / 0.6262 GB, free: 5.383 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.000666/0.0119, allocations: 459.7 kB / 0.6266 GB, free: 4.902 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.01194, allocations: 9.469 kB / 0.6266 GB, free: 4.895 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.79e-05/0.01199, allocations: 54.73 kB / 0.6267 GB, free: 4.832 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00102/0.01301, allocations: 184.6 kB / 0.6269 GB, free: 4.652 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003149/0.01333, allocations: 153.6 kB / 0.627 GB, free: 4.477 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.564e-05/0.01335, allocations: 16.7 kB / 0.627 GB, free: 4.461 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.697e-05/0.01338, allocations: 16.36 kB / 0.627 GB, free: 4.445 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.01388, allocations: 0.5071 MB / 0.6275 GB, free: 3.855 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.36e-05/0.01389, allocations: 4.125 kB / 0.6275 GB, free: 3.852 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.902e-05/0.01392, allocations: 15.94 kB / 0.6276 GB, free: 3.836 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.01394, allocations: 4 kB / 0.6276 GB, free: 3.832 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004139/0.01436, allocations: 255.6 kB / 0.6278 GB, free: 3.582 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.01538, allocations: 1.192 MB / 0.629 GB, free: 2.312 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.01585, allocations: 186.4 kB / 0.6291 GB, free: 2.121 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/0.01597, allocations: 72.75 kB / 0.6292 GB, free: 2.047 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.471e-05/0.016, allocations: 7.984 kB / 0.6292 GB, free: 2.039 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.01602, allocations: 42.5 kB / 0.6293 GB, free: 1.988 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=18): time 2.644e-06/0.01602, allocations: 4 kB / 0.6293 GB, free: 1.984 MB / 0.5886 GB Notification: Performance of matching and sorting (n=18): time 0.0004758/0.0165, allocations: 243.2 kB / 0.6295 GB, free: 1.742 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.067e-05/0.01653, allocations: 55.41 kB / 0.6295 GB, free: 1.676 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000107/0.01664, allocations: 161.5 kB / 0.6297 GB, free: 1.508 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 2.548e-05/0.01666, allocations: 33.7 kB / 0.6297 GB, free: 1.469 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.01673, allocations: 120.3 kB / 0.6298 GB, free: 1.348 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 3.684e-05/0.01677, allocations: 67.42 kB / 0.6299 GB, free: 1.281 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.262e-05/0.01683, allocations: 57.92 kB / 0.63 GB, free: 1.215 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.01692, allocations: 326.8 kB / 0.6303 GB, free: 0.8867 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.01704, allocations: 56.42 kB / 0.6303 GB, free: 0.832 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001509/0.01719, allocations: 143 kB / 0.6305 GB, free: 0.6602 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002763/0.01746, allocations: 219.5 kB / 0.6307 GB, free: 424 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.01747, allocations: 0 / 0.6307 GB, free: 424 kB / 0.5886 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0003476/0.01781, allocations: 257.1 kB / 0.6309 GB, free: 160 kB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.01783, allocations: 4 kB / 0.6309 GB, free: 156 kB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.01784, allocations: 4 kB / 0.6309 GB, free: 152 kB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01785, allocations: 4.312 kB / 0.6309 GB, free: 148 kB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001845/0.01804, allocations: 75.88 kB / 0.631 GB, free: 72 kB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.01804, allocations: 4 kB / 0.631 GB, free: 68 kB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001055/0.01815, allocations: 31.78 kB / 0.631 GB, free: 36 kB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.01816, allocations: 11.98 kB / 0.6311 GB, free: 24 kB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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 9.64e-05/0.01826, allocations: 129.8 kB / 0.6312 GB, free: 15.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/0.01829, allocations: 23.84 kB / 0.6312 GB, free: 15.86 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003773/0.01867, allocations: 222.6 kB / 0.6314 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.01867, allocations: 0 / 0.6314 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.01868, allocations: 4 kB / 0.6314 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/0.01868, allocations: 0 / 0.6314 GB, free: 15.64 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001887/0.01887, allocations: 204.5 kB / 0.6316 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.01887, allocations: 3.938 kB / 0.6316 GB, free: 15.39 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001471/0.01902, allocations: 67.88 kB / 0.6317 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.01902, allocations: 0 / 0.6317 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.498e-05/0.01903, allocations: 4 kB / 0.6317 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.01904, allocations: 3.938 kB / 0.6317 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.01904, allocations: 0 / 0.6317 GB, free: 15.32 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003194/0.01936, allocations: 301.4 kB / 0.632 GB, free: 15.01 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.688e-05/0.01941, allocations: 35.69 kB / 0.632 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.101e-05/0.01944, allocations: 8 kB / 0.632 GB, free: 14.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001217/0.01956, allocations: 15.98 kB / 0.632 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.645e-05/0.01958, allocations: 7.984 kB / 0.632 GB, free: 14.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.707e-05/0.0196, allocations: 11.98 kB / 0.6321 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 5.742e-05/0.01966, allocations: 119.2 kB / 0.6322 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5e-08/0.01966, allocations: 0 / 0.6322 GB, free: 14.81 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002383/0.0199, allocations: 63.94 kB / 0.6322 GB, free: 14.75 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 (20): * Single equations (assignments): 20 * 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.0006001/0.0205, allocations: 0.8639 MB / 0.6331 GB, free: 13.86 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003169/0.02081, allocations: 170.4 kB / 0.6332 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.02081, allocations: 0 / 0.6332 GB, free: 13.7 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.02093, allocations: 85.95 kB / 0.6333 GB, free: 13.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.02125, allocations: 55.94 kB / 0.6334 GB, free: 13.56 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002013/0.02327, allocations: 2.145 MB / 0.6355 GB, free: 11.28 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.235e-05/0.02334, allocations: 99.11 kB / 0.6356 GB, free: 11.16 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001684/0.02351, allocations: 53.92 kB / 0.6356 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.628e-05/0.0236, allocations: 48.48 kB / 0.6357 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of SimCode: time 7.52e-07/0.0236, allocations: 0 / 0.6357 GB, free: 11.06 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0186/0.0422, allocations: 6.179 MB / 0.6417 GB, free: 5.164 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.081/7.123, allocations: 12.69 kB / 0.6417 GB, free: 5.16 MB / 0.6042 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_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_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > IDEAS_dev_IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.041625982150435] Failed to read output from testmodel.py, exit status != 0: 7.206477562896907 7.213790814 7.200840737 Calling exit ...