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.0008402/0.0008402, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009209/0.0009209, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9602/0.9602, allocations: 230.6 MB / 256 MB, free: 9.82 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.8037/0.8037, allocations: 203.8 MB / 0.5042 GB, free: 10.75 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.0009119/0.0009119, allocations: 64.47 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5571/0.558, allocations: 102 MB / 0.8179 GB, free: 1.262 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.001687/0.5597, allocations: 1.307 MB / 0.8191 GB, free: 356 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.131/0.6907, allocations: 135.2 MB / 0.9512 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.879e-05/0.6908, allocations: 0 / 0.9512 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.6908, allocations: 7.984 kB / 0.9512 GB, free: 13.01 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.972e-05/0.6908, allocations: 7.938 kB / 0.9512 GB, free: 13 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000332/0.6912, allocations: 55.67 kB / 0.9513 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.817e-05/0.6912, allocations: 23.92 kB / 0.9513 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.353e-05/0.6913, allocations: 0 / 0.9513 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.6913, allocations: 13.95 kB / 0.9513 GB, free: 12.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.8e-05/0.6914, allocations: 15.92 kB / 0.9513 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.017e-05/0.6914, allocations: 0 / 0.9513 GB, free: 12.89 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.6915, allocations: 23.92 kB / 0.9513 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.499e-05/0.6915, allocations: 4 kB / 0.9513 GB, free: 12.87 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.636e-05/0.6915, allocations: 15.92 kB / 0.9513 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001028/0.6916, allocations: 22.38 kB / 0.9514 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6916, allocations: 4 kB / 0.9514 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.763e-06/0.6916, allocations: 0 / 0.9514 GB, free: 12.83 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.6916, allocations: 0 / 0.9514 GB, free: 12.83 MB / 0.7292 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.0003381/0.6919, allocations: 254.3 kB / 0.9516 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.692, allocations: 8.031 kB / 0.9516 GB, free: 12.54 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.83e-05/0.692, allocations: 34.69 kB / 0.9517 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001115/0.6921, allocations: 16.92 kB / 0.9517 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.854e-05/0.6922, allocations: 106.5 kB / 0.9518 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.585e-05/0.6923, allocations: 55.97 kB / 0.9518 GB, free: 12.29 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.6923, allocations: 8.312 kB / 0.9518 GB, free: 12.28 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.279e-05/0.6924, allocations: 45.98 kB / 0.9519 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6924, allocations: 3.938 kB / 0.9519 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.154e-06/0.6924, allocations: 0 / 0.9519 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.6924, allocations: 3.984 kB / 0.9519 GB, free: 12.22 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.739e-05/0.6924, allocations: 15.98 kB / 0.9519 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001234/0.6926, allocations: 132.8 kB / 0.952 GB, free: 12.03 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 7.713e-05/0.6926, allocations: 34.55 kB / 0.9521 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.785e-05/0.6927, allocations: 12.86 kB / 0.9521 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.007e-05/0.6927, allocations: 96 / 0.9521 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.09e-05/0.6927, allocations: 38.48 kB / 0.9521 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.6927, allocations: 0 / 0.9521 GB, free: 11.93 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0001532/0.6929, allocations: 61.62 kB / 0.9522 GB, free: 11.86 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.03e-05/0.6929, allocations: 55.41 kB / 0.9522 GB, free: 11.79 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.788e-05/0.6929, allocations: 97.84 kB / 0.9523 GB, free: 11.69 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.114e-05/0.6929, allocations: 25.7 kB / 0.9523 GB, free: 11.66 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.092e-05/0.693, allocations: 84.14 kB / 0.9524 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.401e-05/0.693, allocations: 11.84 kB / 0.9524 GB, free: 11.56 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.397e-05/0.693, allocations: 13.72 kB / 0.9524 GB, free: 11.54 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/0.6931, allocations: 322.8 kB / 0.9527 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.6931, allocations: 4 kB / 0.9528 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.919e-05/0.6931, allocations: 4 kB / 0.9528 GB, free: 11.21 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.022e-05/0.6932, allocations: 24.84 kB / 0.9528 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.6932, allocations: 0 / 0.9528 GB, free: 11.18 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.945e-05/0.6933, allocations: 57.61 kB / 0.9528 GB, free: 11.12 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.6933, allocations: 7.938 kB / 0.9528 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.6933, allocations: 4 kB / 0.9528 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.6933, allocations: 0 / 0.9528 GB, free: 11.11 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.752e-05/0.6933, allocations: 4 kB / 0.9529 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.6934, allocations: 0 / 0.9529 GB, free: 11.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.866e-05/0.6934, allocations: 8 kB / 0.9529 GB, free: 11.09 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.668e-06/0.6934, allocations: 0 / 0.9529 GB, free: 11.09 MB / 0.7292 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.415e-05/0.6934, allocations: 105.8 kB / 0.953 GB, free: 10.98 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.514e-06/0.6934, allocations: 11.92 kB / 0.953 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.881e-05/0.6935, allocations: 7.688 kB / 0.953 GB, free: 10.96 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.6935, allocations: 8 kB / 0.953 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.6935, allocations: 3.938 kB / 0.953 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.6935, allocations: 0 / 0.953 GB, free: 10.95 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.609e-05/0.6935, allocations: 124.8 kB / 0.9531 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.6935, allocations: 0 / 0.9531 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.299e-05/0.6936, allocations: 8.516 kB / 0.9531 GB, free: 10.78 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.6936, allocations: 3.938 kB / 0.9531 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.6936, allocations: 0 / 0.9531 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.01e-07/0.6936, allocations: 0 / 0.9531 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.6936, allocations: 3.938 kB / 0.9531 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.618e-05/0.6936, allocations: 88.98 kB / 0.9532 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.893e-05/0.6937, allocations: 3.938 kB / 0.9532 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.6937, allocations: 8 kB / 0.9532 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.268e-05/0.6937, allocations: 0 / 0.9532 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.137e-05/0.6937, allocations: 3.984 kB / 0.9532 GB, free: 10.65 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.6937, allocations: 4 kB / 0.9532 GB, free: 10.64 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.357e-05/0.6938, allocations: 75.28 kB / 0.9533 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.6938, allocations: 4 kB / 0.9533 GB, free: 10.57 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001193/0.6939, allocations: 4 kB / 0.9533 GB, free: 10.56 MB / 0.7292 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.0002574/0.6941, allocations: 0.6124 MB / 0.9539 GB, free: 9.918 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 9.542e-05/0.6942, allocations: 19.98 kB / 0.9539 GB, free: 9.898 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.513e-06/0.6942, allocations: 4 kB / 0.9539 GB, free: 9.895 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.365e-05/0.6943, allocations: 11.98 kB / 0.9539 GB, free: 9.883 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001929/0.6944, allocations: 8 kB / 0.9539 GB, free: 9.875 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000332/0.6948, allocations: 157.7 kB / 0.9541 GB, free: 9.68 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.695, allocations: 0.6729 MB / 0.9548 GB, free: 8.98 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.302e-05/0.695, allocations: 4 kB / 0.9548 GB, free: 8.977 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.127e-05/0.695, allocations: 11.44 kB / 0.9548 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of SimCode: time 3.01e-07/0.695, allocations: 0 / 0.9548 GB, free: 8.965 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01426/0.7093, allocations: 1.374 MB / 0.9561 GB, free: 7.703 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.432/7.142, allocations: 4.562 kB / 0.9561 GB, free: 7.699 MB / 0.7292 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.104037144919857] Failed to read output from testmodel.py, exit status != 0: 7.220887357834727 7.233226602 6.539715641 Calling exit ...