Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.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.0011/0.0011, allocations: 105.5 kB / 18.95 MB, free: 1.191 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.001238/0.001238, allocations: 209.7 kB / 22.24 MB, free: 3.594 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.935/0.935, allocations: 230.6 MB / 256 MB, free: 9.602 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.8141/0.8141, allocations: 203.8 MB / 0.5042 GB, free: 10.41 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.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",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.0009698/0.0009698, allocations: 66.83 kB / 0.7181 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5227/0.5237, allocations: 102 MB / 0.8178 GB, free: 1.039 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.00202/0.5257, allocations: 1.504 MB / 0.8192 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1192/0.6448, allocations: 115.8 MB / 0.9323 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.34e-05/0.6449, allocations: 0 / 0.9323 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 3.24e-05/0.6449, allocations: 3.938 kB / 0.9323 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.232e-05/0.645, allocations: 7.875 kB / 0.9323 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003472/0.6453, allocations: 71.66 kB / 0.9324 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.005e-05/0.6454, allocations: 59.78 kB / 0.9325 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 9.197e-05/0.6455, allocations: 11.98 kB / 0.9325 GB, free: 15.79 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.6455, allocations: 19.92 kB / 0.9325 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 3.878e-05/0.6456, allocations: 19.92 kB / 0.9325 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.6456, allocations: 4 kB / 0.9325 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 8.413e-05/0.6457, allocations: 23.92 kB / 0.9325 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.668e-05/0.6457, allocations: 11.94 kB / 0.9326 GB, free: 15.71 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.472e-05/0.6457, allocations: 19.86 kB / 0.9326 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000123/0.6458, allocations: 65.98 kB / 0.9326 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.6458, allocations: 0 / 0.9326 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.643e-06/0.6458, allocations: 4 kB / 0.9326 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.471e-06/0.6458, allocations: 0 / 0.9326 GB, free: 15.62 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003737/0.6462, allocations: 290.2 kB / 0.9329 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.919e-05/0.6463, allocations: 12.03 kB / 0.9329 GB, free: 15.29 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.76e-05/0.6463, allocations: 30.75 kB / 0.933 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.6464, allocations: 16.88 kB / 0.933 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.206e-05/0.6465, allocations: 122.4 kB / 0.9331 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.828e-06/0.6465, allocations: 384 / 0.9331 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.052e-05/0.6465, allocations: 8.375 kB / 0.9331 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000157/0.6467, allocations: 74.2 kB / 0.9332 GB, free: 15.01 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.722e-06/0.6467, allocations: 3.938 kB / 0.9332 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.635e-06/0.6467, allocations: 0 / 0.9332 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6467, allocations: 0 / 0.9332 GB, free: 15 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001525/0.6468, allocations: 71.92 kB / 0.9332 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.6471, allocations: 255.8 kB / 0.9335 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001192/0.6473, allocations: 58.53 kB / 0.9335 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.171e-05/0.6473, allocations: 32.92 kB / 0.9336 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.106e-05/0.6474, allocations: 3.984 kB / 0.9336 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.6474, allocations: 34.56 kB / 0.9336 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 7.52e-07/0.6474, allocations: 0 / 0.9336 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0003082/0.6477, allocations: 129.5 kB / 0.9337 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.556e-05/0.6477, allocations: 51.41 kB / 0.9338 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.287e-05/0.6478, allocations: 127.9 kB / 0.9339 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.031e-05/0.6478, allocations: 25.7 kB / 0.9339 GB, free: 14.13 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/0.6478, allocations: 92.09 kB / 0.934 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.671e-05/0.6478, allocations: 19.83 kB / 0.934 GB, free: 14.02 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-05/0.6479, allocations: 13.72 kB / 0.9341 GB, free: 14 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.595e-05/0.6479, allocations: 322.8 kB / 0.9344 GB, free: 13.68 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.646e-05/0.648, allocations: 31.97 kB / 0.9344 GB, free: 13.64 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.967e-05/0.6481, allocations: 31.95 kB / 0.9344 GB, free: 13.61 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.6482, allocations: 76.72 kB / 0.9345 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.6482, allocations: 0 / 0.9345 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001725/0.6484, allocations: 97.58 kB / 0.9346 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.6484, allocations: 8 kB / 0.9346 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6484, allocations: 0 / 0.9346 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.169e-05/0.6484, allocations: 3.938 kB / 0.9346 GB, free: 13.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.626e-05/0.6485, allocations: 15.98 kB / 0.9346 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.6485, allocations: 0 / 0.9346 GB, free: 13.41 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.006e-05/0.6486, allocations: 15.98 kB / 0.9346 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.582e-06/0.6486, allocations: 4 kB / 0.9346 GB, free: 13.39 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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 5.448e-05/0.6486, allocations: 113.8 kB / 0.9347 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.593e-05/0.6486, allocations: 8.281 kB / 0.9347 GB, free: 13.26 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.108e-05/0.6487, allocations: 8 kB / 0.9348 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.6487, allocations: 7.984 kB / 0.9348 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6487, allocations: 0 / 0.9348 GB, free: 13.24 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.6487, allocations: 8 kB / 0.9348 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001157/0.6488, allocations: 140.7 kB / 0.9349 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.6488, allocations: 3.938 kB / 0.9349 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-05/0.6488, allocations: 15.98 kB / 0.9349 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.6488, allocations: 0 / 0.9349 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.673e-06/0.6488, allocations: 0 / 0.9349 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.6488, allocations: 0 / 0.9349 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.6488, allocations: 0 / 0.9349 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.649, allocations: 203.4 kB / 0.9351 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.728e-06/0.6491, allocations: 3.953 kB / 0.9351 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.034e-05/0.6491, allocations: 0 / 0.9351 GB, free: 12.81 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.6491, allocations: 11.98 kB / 0.9351 GB, free: 12.8 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.213e-05/0.6492, allocations: 11.98 kB / 0.9351 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.6492, allocations: 0 / 0.9351 GB, free: 12.79 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.633e-05/0.6492, allocations: 91.22 kB / 0.9352 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.6492, allocations: 0 / 0.9352 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000152/0.6494, allocations: 8 kB / 0.9352 GB, free: 12.69 MB / 0.7136 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 (3): * Single equations (assignments): 3 * 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.0003747/0.6497, allocations: 0.7357 MB / 0.936 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.6499, allocations: 63.92 kB / 0.936 GB, free: 11.87 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.6499, allocations: 4 kB / 0.936 GB, free: 11.86 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.828e-05/0.65, allocations: 47.89 kB / 0.9361 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.6503, allocations: 5.969 kB / 0.9361 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.6515, allocations: 1.43 MB / 0.9375 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004844/0.652, allocations: 67.28 kB / 0.9375 GB, free: 10.22 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.652, allocations: 4 kB / 0.9375 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.652, allocations: 19.42 kB / 0.9376 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of SimCode: time 7.21e-07/0.652, allocations: 0 / 0.9376 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01709/0.6691, allocations: 2.589 MB / 0.9401 GB, free: 7.734 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.624/7.293, allocations: 10.28 kB / 0.9401 GB, free: 7.727 MB / 0.7136 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.218554466962814] Failed to read output from testmodel.py, exit status != 0: 7.371510395314544 7.384133382 6.73642052 Calling exit ...