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.0007475/0.0007475, allocations: 80.44 kB / 19.17 MB, free: 0.7383 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.0007705/0.0007705, allocations: 165.9 kB / 22.46 MB, free: 2.102 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.895/0.895, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.715/0.715, allocations: 154.6 MB / 413.7 MB, free: 0.8359 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.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: Performance of FrontEnd - loaded program: time 2.074e-06/2.074e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.309e-05/2.517e-05, allocations: 6.281 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.002284/0.00231, allocations: 1.508 MB / 0.6195 GB, free: 12.26 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.4101/0.4124, allocations: 115.8 MB / 0.7326 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.52e-05/0.4125, allocations: 0.5625 kB / 0.7326 GB, free: 28.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 3.706e-05/0.4125, allocations: 7.656 kB / 0.7326 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.4126, allocations: 9.406 kB / 0.7326 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003823/0.4129, allocations: 64.84 kB / 0.7327 GB, free: 28.2 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001025/0.413, allocations: 59.78 kB / 0.7327 GB, free: 28.17 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001039/0.4131, allocations: 19.23 kB / 0.7328 GB, free: 28.16 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.4132, allocations: 24.5 kB / 0.7328 GB, free: 28.15 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 4.743e-05/0.4133, allocations: 22.14 kB / 0.7328 GB, free: 28.14 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 2.647e-05/0.4133, allocations: 4.25 kB / 0.7328 GB, free: 28.14 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 9.88e-05/0.4134, allocations: 21.27 kB / 0.7328 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.4134, allocations: 8.656 kB / 0.7328 GB, free: 28.13 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.649e-05/0.4134, allocations: 14.19 kB / 0.7329 GB, free: 28.12 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000141/0.4136, allocations: 69.8 kB / 0.7329 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.581e-06/0.4136, allocations: 0.5312 kB / 0.7329 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.804e-06/0.4136, allocations: 4 kB / 0.7329 GB, free: 28.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.4136, allocations: 0.625 kB / 0.7329 GB, free: 28.09 MB / 0.6355 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.0003994/0.414, allocations: 295.5 kB / 0.7332 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.414, allocations: 10.81 kB / 0.7332 GB, free: 27.81 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.698e-05/0.4141, allocations: 39.02 kB / 0.7333 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001358/0.4142, allocations: 12.16 kB / 0.7333 GB, free: 27.77 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.899e-05/0.4143, allocations: 116.4 kB / 0.7334 GB, free: 27.63 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4143, allocations: 2.031 kB / 0.7334 GB, free: 27.63 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.4143, allocations: 6.906 kB / 0.7334 GB, free: 27.63 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/0.4145, allocations: 75.36 kB / 0.7335 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.4145, allocations: 192 / 0.7335 GB, free: 27.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.4145, allocations: 5.531 kB / 0.7335 GB, free: 27.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.4145, allocations: 5.312 kB / 0.7335 GB, free: 27.58 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001561/0.4146, allocations: 71.12 kB / 0.7335 GB, free: 27.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003102/0.415, allocations: 250.4 kB / 0.7338 GB, free: 27.31 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001198/0.4151, allocations: 57.86 kB / 0.7338 GB, free: 27.28 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.819e-05/0.4152, allocations: 37.34 kB / 0.7339 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.201e-05/0.4152, allocations: 1.031 kB / 0.7339 GB, free: 27.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.4152, allocations: 35.47 kB / 0.7339 GB, free: 27.22 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 7.92e-07/0.4152, allocations: 0 / 0.7339 GB, free: 27.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0003086/0.4155, allocations: 134.3 kB / 0.734 GB, free: 27.17 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.029e-05/0.4155, allocations: 55.75 kB / 0.7341 GB, free: 27.11 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.599e-05/0.4156, allocations: 119.3 kB / 0.7342 GB, free: 27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.851e-06/0.4156, allocations: 25.7 kB / 0.7342 GB, free: 26.97 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.351e-05/0.4156, allocations: 86.27 kB / 0.7343 GB, free: 26.89 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.634e-05/0.4156, allocations: 20.73 kB / 0.7343 GB, free: 26.87 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.4156, allocations: 11.97 kB / 0.7343 GB, free: 26.86 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.273e-05/0.4157, allocations: 320.5 kB / 0.7346 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.697e-05/0.4157, allocations: 27.61 kB / 0.7347 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.476e-05/0.4158, allocations: 36.36 kB / 0.7347 GB, free: 26.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001311/0.4159, allocations: 75.45 kB / 0.7348 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.4159, allocations: 1.25 kB / 0.7348 GB, free: 26.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001587/0.4161, allocations: 102.4 kB / 0.7349 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.4161, allocations: 5 kB / 0.7349 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.4161, allocations: 3.328 kB / 0.7349 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.4161, allocations: 1.188 kB / 0.7349 GB, free: 26.46 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.376e-05/0.4162, allocations: 17.77 kB / 0.7349 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.4162, allocations: 0 / 0.7349 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.84e-05/0.4162, allocations: 17.55 kB / 0.7349 GB, free: 26.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.752e-06/0.4163, allocations: 1.422 kB / 0.7349 GB, free: 26.45 MB / 0.6355 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 4.029e-05/0.4163, allocations: 109 kB / 0.735 GB, free: 26.34 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.361e-05/0.4163, allocations: 10.14 kB / 0.735 GB, free: 26.33 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.115e-05/0.4163, allocations: 10.25 kB / 0.735 GB, free: 26.32 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.4163, allocations: 7.922 kB / 0.735 GB, free: 26.31 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.4163, allocations: 1.156 kB / 0.735 GB, free: 26.31 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4163, allocations: 7.234 kB / 0.7351 GB, free: 26.3 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.605e-05/0.4164, allocations: 137.2 kB / 0.7352 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.4164, allocations: 1.062 kB / 0.7352 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.927e-05/0.4165, allocations: 16.84 kB / 0.7352 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.4165, allocations: 0 / 0.7352 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.4165, allocations: 4.719 kB / 0.7352 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.4165, allocations: 0 / 0.7352 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.4165, allocations: 1.281 kB / 0.7352 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001697/0.4166, allocations: 200.7 kB / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.779e-06/0.4167, allocations: 6.203 kB / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.03e-05/0.4167, allocations: 1.188 kB / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.997e-05/0.4167, allocations: 12.77 kB / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.813e-05/0.4168, allocations: 4.266 kB / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.645e-06/0.4168, allocations: 0.875 kB / 0.7354 GB, free: 25.99 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.429e-05/0.4168, allocations: 101.2 kB / 0.7355 GB, free: 25.9 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4168, allocations: 0 / 0.7355 GB, free: 25.9 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001411/0.4169, allocations: 12 kB / 0.7355 GB, free: 25.9 MB / 0.6355 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.0002723/0.4172, allocations: 0.7327 MB / 0.7362 GB, free: 25.22 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001782/0.4174, allocations: 66.47 kB / 0.7363 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.083e-06/0.4174, allocations: 4 kB / 0.7363 GB, free: 25.21 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.157e-05/0.4174, allocations: 39.02 kB / 0.7363 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002366/0.4177, allocations: 13.25 kB / 0.7364 GB, free: 25.2 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009873/0.4187, allocations: 1.409 MB / 0.7377 GB, free: 23.97 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.429e-05/0.4187, allocations: 67.14 kB / 0.7378 GB, free: 23.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.846e-05/0.4188, allocations: 10.44 kB / 0.7378 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.77e-05/0.4188, allocations: 17.36 kB / 0.7378 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of SimCode: time 5.91e-07/0.4188, allocations: 1.125 kB / 0.7378 GB, free: 23.89 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01539/0.4342, allocations: 2.718 MB / 0.7405 GB, free: 22.97 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.906/7.341, allocations: 11.3 kB / 0.7405 GB, free: 22.96 MB / 0.6355 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.018732164055109] Failed to read output from testmodel.py, exit status != 0: 7.420570361427963 7.4319699439999996 7.016301609 Calling exit ...