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.001205/0.001205, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.00144/0.00144, allocations: 209.2 kB / 22.24 MB, free: 3.59 MB / 13.93 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.9972/0.9972, allocations: 230.6 MB / 256 MB, free: 9.598 MB / 202.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.7558/0.7558, allocations: 203.8 MB / 0.5042 GB, free: 10.45 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009339/0.0009339, allocations: 66.58 kB / 0.7182 GB, free: 3.953 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6051/0.606, allocations: 102 MB / 0.8178 GB, free: 1.023 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004995/0.611, allocations: 3.899 MB / 0.8217 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002372/0.6134, allocations: 2.227 MB / 0.8238 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001379/0.6135, allocations: 1.875 kB / 0.8238 GB, free: 12.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0003964/0.6139, allocations: 50.59 kB / 0.8239 GB, free: 12.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003048/0.6142, allocations: 103.8 kB / 0.824 GB, free: 12.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001558/0.6158, allocations: 0.5458 MB / 0.8245 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0004608/0.6162, allocations: 267.1 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.823e-05/0.6163, allocations: 8.312 kB / 0.8248 GB, free: 12.39 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002977/0.6166, allocations: 115.4 kB / 0.8249 GB, free: 12.35 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002007/0.6168, allocations: 93.84 kB / 0.825 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.6168, allocations: 9 kB / 0.825 GB, free: 12.31 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000857/0.6177, allocations: 400.1 kB / 0.8254 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.000106/0.6178, allocations: 43.17 kB / 0.8254 GB, free: 12.15 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.6179, allocations: 76.72 kB / 0.8255 GB, free: 12.12 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0009172/0.6188, allocations: 405.7 kB / 0.8259 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.6188, allocations: 0 / 0.8259 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.364e-06/0.6188, allocations: 0 / 0.8259 GB, free: 11.99 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.317e-06/0.6188, allocations: 0 / 0.8259 GB, free: 11.99 MB / 0.6198 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.0008644/0.6197, allocations: 452.9 kB / 0.8263 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.375e-05/0.6198, allocations: 8.375 kB / 0.8263 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.104e-05/0.6198, allocations: 54.11 kB / 0.8264 GB, free: 11.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001323/0.6211, allocations: 188.5 kB / 0.8265 GB, free: 11.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000331/0.6215, allocations: 152.1 kB / 0.8267 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.588e-05/0.6215, allocations: 19.11 kB / 0.8267 GB, free: 11.39 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/0.6215, allocations: 13.12 kB / 0.8267 GB, free: 11.38 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006741/0.6222, allocations: 0.5027 MB / 0.8272 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.313e-05/0.6222, allocations: 0 / 0.8272 GB, free: 10.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.958e-05/0.6223, allocations: 11.88 kB / 0.8272 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.385e-05/0.6223, allocations: 5.359 kB / 0.8272 GB, free: 10.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005112/0.6228, allocations: 258.5 kB / 0.8275 GB, free: 10.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001331/0.6241, allocations: 1.202 MB / 0.8286 GB, free: 9.797 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005565/0.6247, allocations: 186.6 kB / 0.8288 GB, free: 9.73 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.6248, allocations: 71.28 kB / 0.8289 GB, free: 9.703 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.64e-05/0.6249, allocations: 6.688 kB / 0.8289 GB, free: 9.699 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.6249, allocations: 33.66 kB / 0.8289 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=18): time 1.383e-06/0.6249, allocations: 0 / 0.8289 GB, free: 9.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=18): time 0.0006607/0.6256, allocations: 246.7 kB / 0.8292 GB, free: 9.566 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.6256, allocations: 62.3 kB / 0.8292 GB, free: 9.496 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001853/0.6258, allocations: 162.4 kB / 0.8294 GB, free: 9.375 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.134e-05/0.6258, allocations: 35.83 kB / 0.8294 GB, free: 9.336 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.011e-05/0.6259, allocations: 132.5 kB / 0.8295 GB, free: 9.215 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.755e-05/0.626, allocations: 64.44 kB / 0.8296 GB, free: 9.164 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.164e-05/0.6261, allocations: 48.95 kB / 0.8296 GB, free: 9.129 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.6262, allocations: 331.7 kB / 0.83 GB, free: 8.805 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001582/0.6264, allocations: 64.64 kB / 0.83 GB, free: 8.789 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002218/0.6266, allocations: 145.8 kB / 0.8302 GB, free: 8.676 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003498/0.6269, allocations: 220.4 kB / 0.8304 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6269, allocations: 1.094 kB / 0.8304 GB, free: 8.523 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0004308/0.6274, allocations: 253.7 kB / 0.8306 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.031e-05/0.6274, allocations: 6.422 kB / 0.8306 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.6274, allocations: 2.625 kB / 0.8306 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.207e-05/0.6274, allocations: 4.969 kB / 0.8306 GB, free: 8.418 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002244/0.6276, allocations: 70.25 kB / 0.8307 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/0.6276, allocations: 4.219 kB / 0.8307 GB, free: 8.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001257/0.6278, allocations: 30.28 kB / 0.8307 GB, free: 8.395 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.097e-05/0.6278, allocations: 11.36 kB / 0.8307 GB, free: 8.395 MB / 0.6198 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 0.0001139/0.6279, allocations: 138.5 kB / 0.8309 GB, free: 8.258 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.99e-05/0.6279, allocations: 17.27 kB / 0.8309 GB, free: 8.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005961/0.6285, allocations: 233.1 kB / 0.8311 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.6286, allocations: 2.219 kB / 0.8311 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.6286, allocations: 0.625 kB / 0.8311 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.784e-06/0.6286, allocations: 1.453 kB / 0.8311 GB, free: 8.137 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003031/0.6289, allocations: 207.2 kB / 0.8313 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.6289, allocations: 0.5 kB / 0.8313 GB, free: 7.938 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002469/0.6291, allocations: 56.53 kB / 0.8314 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.6291, allocations: 4.438 kB / 0.8314 GB, free: 7.926 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.268e-05/0.6292, allocations: 7.547 kB / 0.8314 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.65e-06/0.6292, allocations: 1 kB / 0.8314 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6292, allocations: 1.062 kB / 0.8314 GB, free: 7.922 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005248/0.6297, allocations: 294.5 kB / 0.8317 GB, free: 7.738 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.546e-05/0.6298, allocations: 25.14 kB / 0.8317 GB, free: 7.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.946e-05/0.6298, allocations: 9.094 kB / 0.8317 GB, free: 7.723 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001505/0.63, allocations: 21.8 kB / 0.8317 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.921e-05/0.63, allocations: 10.41 kB / 0.8317 GB, free: 7.715 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.285e-05/0.63, allocations: 12.48 kB / 0.8317 GB, free: 7.711 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001257/0.6301, allocations: 113.8 kB / 0.8318 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of sort global known variables: time 4e-08/0.6301, allocations: 0 / 0.8318 GB, free: 7.629 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003761/0.6305, allocations: 69.48 kB / 0.8319 GB, free: 7.613 MB / 0.6198 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.0007193/0.6312, allocations: 0.8613 MB / 0.8327 GB, free: 6.887 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003778/0.6316, allocations: 180.7 kB / 0.8329 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.6316, allocations: 0 / 0.8329 GB, free: 6.836 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001436/0.6318, allocations: 85.22 kB / 0.833 GB, free: 6.812 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000355/0.6321, allocations: 59.75 kB / 0.8331 GB, free: 6.793 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002404/0.6345, allocations: 2.166 MB / 0.8352 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001092/0.6346, allocations: 105.5 kB / 0.8353 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0002032/0.6348, allocations: 54.92 kB / 0.8353 GB, free: 5.047 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.6349, allocations: 47.14 kB / 0.8354 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of SimCode: time 5.21e-07/0.6349, allocations: 0 / 0.8354 GB, free: 5.02 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02175/0.6567, allocations: 6.063 MB / 0.8413 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.833/7.49, allocations: 1.594 kB / 0.8413 GB, free: 2.773 MB / 0.6198 GB " [Timeout remaining time 652] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.475017549935728] Failed to read output from testmodel.py, exit status != 0: 7.569935233797878 7.582752871 6.961830876 Calling exit ...