Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.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.0008489/0.0008489, 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.001086/0.001086, allocations: 212 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.9914/0.9914, allocations: 230.6 MB / 256 MB, free: 9.621 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.7954/0.7954, allocations: 203.8 MB / 0.5042 GB, free: 10.5 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.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_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.001633/0.001633, allocations: 66.56 kB / 0.7182 GB, free: 4.055 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5256/0.5273, allocations: 102 MB / 0.8178 GB, free: 1.059 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001689/0.529, allocations: 1.308 MB / 0.8191 GB, free: 148 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1165/0.6455, allocations: 115.7 MB / 0.9321 GB, free: 276 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.043e-05/0.6455, allocations: 0 / 0.9321 GB, free: 276 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.974e-05/0.6455, allocations: 3.984 kB / 0.9321 GB, free: 272 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.209e-05/0.6456, allocations: 7.938 kB / 0.9321 GB, free: 264 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003582/0.6459, allocations: 55.69 kB / 0.9322 GB, free: 208 kB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.592e-05/0.646, allocations: 23.92 kB / 0.9322 GB, free: 184 kB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.828e-05/0.646, allocations: 0 / 0.9322 GB, free: 184 kB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.427e-05/0.6461, allocations: 11.98 kB / 0.9322 GB, free: 172 kB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.053e-05/0.6461, allocations: 11.92 kB / 0.9322 GB, free: 160 kB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.254e-05/0.6462, allocations: 3.938 kB / 0.9322 GB, free: 156 kB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.145e-05/0.6463, allocations: 19.92 kB / 0.9322 GB, free: 136 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.701e-05/0.6463, allocations: 4 kB / 0.9322 GB, free: 132 kB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.6463, allocations: 7.938 kB / 0.9322 GB, free: 124 kB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.6464, allocations: 18.38 kB / 0.9323 GB, free: 108 kB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.6464, allocations: 8 kB / 0.9323 GB, free: 100 kB / 0.698 GB Notification: Performance of FrontEnd: time 1.933e-06/0.6464, allocations: 0 / 0.9323 GB, free: 100 kB / 0.698 GB Notification: Performance of Transformations before backend: time 6.702e-06/0.6464, allocations: 0 / 0.9323 GB, free: 100 kB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003814/0.6468, allocations: 254.3 kB / 0.9325 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.317e-05/0.6468, allocations: 12.03 kB / 0.9325 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.351e-05/0.6469, allocations: 38.67 kB / 0.9326 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001342/0.647, allocations: 8.938 kB / 0.9326 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.365e-05/0.6471, allocations: 106.5 kB / 0.9327 GB, free: 15.62 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.603e-05/0.6472, allocations: 59.95 kB / 0.9327 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.6472, allocations: 4.375 kB / 0.9327 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000105/0.6473, allocations: 46 kB / 0.9328 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.6473, allocations: 0 / 0.9328 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.737e-06/0.6473, allocations: 3.938 kB / 0.9328 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.6473, allocations: 0 / 0.9328 GB, free: 15.49 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.119e-05/0.6474, allocations: 15.98 kB / 0.9328 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001303/0.6475, allocations: 128.8 kB / 0.9329 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.093e-05/0.6476, allocations: 34.55 kB / 0.9329 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.803e-05/0.6476, allocations: 12.86 kB / 0.933 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.6476, allocations: 4.094 kB / 0.933 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.169e-05/0.6476, allocations: 38.48 kB / 0.933 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 8.52e-07/0.6476, allocations: 0 / 0.933 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0001677/0.6478, allocations: 65.61 kB / 0.9331 GB, free: 15.13 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.6478, allocations: 51.41 kB / 0.9331 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.239e-05/0.6479, allocations: 97.84 kB / 0.9332 GB, free: 14.96 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.057e-06/0.6479, allocations: 25.7 kB / 0.9332 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 1.939e-05/0.6479, allocations: 80.14 kB / 0.9333 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.732e-05/0.6479, allocations: 15.84 kB / 0.9333 GB, free: 14.83 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.648, allocations: 17.72 kB / 0.9333 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.258e-05/0.648, allocations: 318.8 kB / 0.9336 GB, free: 14.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.058e-05/0.6481, allocations: 8 kB / 0.9336 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.082e-05/0.6481, allocations: 4 kB / 0.9337 GB, free: 14.48 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.514e-05/0.6481, allocations: 20.84 kB / 0.9337 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.6481, allocations: 0 / 0.9337 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.679e-05/0.6482, allocations: 57.61 kB / 0.9337 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.357e-05/0.6482, allocations: 7.938 kB / 0.9337 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6482, allocations: 0 / 0.9337 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.6483, allocations: 8 kB / 0.9337 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.065e-05/0.6483, allocations: 7.938 kB / 0.9337 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.6483, allocations: 0 / 0.9337 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.6483, allocations: 0 / 0.9337 GB, free: 14.37 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.452e-06/0.6483, allocations: 4 kB / 0.9338 GB, free: 14.36 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.262e-05/0.6484, allocations: 109.8 kB / 0.9339 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.031e-06/0.6484, allocations: 7.922 kB / 0.9339 GB, free: 14.24 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.788e-05/0.6484, allocations: 7.688 kB / 0.9339 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.673e-06/0.6484, allocations: 4 kB / 0.9339 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.6484, allocations: 0 / 0.9339 GB, free: 14.23 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.6484, allocations: 4 kB / 0.9339 GB, free: 14.22 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.611e-05/0.6485, allocations: 120.8 kB / 0.934 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.6485, allocations: 3.938 kB / 0.934 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.202e-05/0.6485, allocations: 11.98 kB / 0.934 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.6485, allocations: 3.938 kB / 0.934 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.526e-06/0.6485, allocations: 4 kB / 0.934 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.11e-07/0.6485, allocations: 0 / 0.934 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.6485, allocations: 0 / 0.934 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.732e-05/0.6486, allocations: 77.02 kB / 0.9341 GB, free: 13.95 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.33e-05/0.6486, allocations: 7.922 kB / 0.9341 GB, free: 13.94 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.388e-06/0.6487, allocations: 4 kB / 0.9341 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.505e-05/0.6487, allocations: 8 kB / 0.9341 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.098e-05/0.6487, allocations: 0 / 0.9341 GB, free: 13.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.6487, allocations: 4.547 kB / 0.9341 GB, free: 13.92 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.367e-05/0.6487, allocations: 79.28 kB / 0.9342 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.6487, allocations: 0 / 0.9342 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001264/0.6489, allocations: 4 kB / 0.9342 GB, free: 13.84 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.0002888/0.6491, allocations: 0.6164 MB / 0.9348 GB, free: 13.19 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.6493, allocations: 23.98 kB / 0.9348 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.6493, allocations: 0 / 0.9348 GB, free: 13.17 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.535e-05/0.6493, allocations: 8 kB / 0.9348 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.6495, allocations: 15.05 kB / 0.9348 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004063/0.6499, allocations: 153.6 kB / 0.935 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.965e-05/0.65, allocations: 63.34 kB / 0.935 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.811e-05/0.65, allocations: 4 kB / 0.9351 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.6501, allocations: 7.438 kB / 0.9351 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of SimCode: time 8.22e-07/0.6501, allocations: 0 / 0.9351 GB, free: 12.87 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01694/0.667, allocations: 1.803 MB / 0.9368 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.458/7.125, allocations: 4.5 kB / 0.9368 GB, free: 11.18 MB / 0.7136 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > IDEAS_dev_IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.13157436111942] Failed to read output from testmodel.py, exit status != 0: 7.2028433829545975 7.214669646 6.565693749 Calling exit ...