Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001306/0.001306, allocations: 118.8 kB / 17.16 MB, free: 5.914 MB / 14.72 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.002089/0.002089, allocations: 206.2 kB / 20.13 MB, free: 2.969 MB / 14.72 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 1.498/1.498, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8489/0.8489, allocations: 133.9 MB / 443.5 MB, free: 13.77 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX",fmuType="cs",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.001972/0.001972, allocations: 65.47 kB / 0.6141 GB, free: 38.21 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1613/0.1633, allocations: 85.85 MB / 0.6979 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Examples.Density_pTX): time 0.0028/0.1661, allocations: 1.515 MB / 0.6994 GB, free: 12.43 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.1671/0.3331, allocations: 135.3 MB / 0.8315 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.741e-05/0.3332, allocations: 0 / 0.8315 GB, free: 5.676 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.5e-05/0.3332, allocations: 3.938 kB / 0.8315 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.054e-05/0.3333, allocations: 19.84 kB / 0.8315 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003489/0.3336, allocations: 71.66 kB / 0.8316 GB, free: 5.582 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 9.995e-05/0.3337, allocations: 51.78 kB / 0.8316 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001113/0.3339, allocations: 8 kB / 0.8316 GB, free: 5.523 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 5.369e-05/0.3339, allocations: 19.92 kB / 0.8317 GB, free: 5.504 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 5.267e-05/0.334, allocations: 31.89 kB / 0.8317 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 2.112e-05/0.334, allocations: 4 kB / 0.8317 GB, free: 5.469 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001042/0.3341, allocations: 23.94 kB / 0.8317 GB, free: 5.445 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3341, allocations: 15.92 kB / 0.8317 GB, free: 5.43 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 4.058e-05/0.3342, allocations: 23.86 kB / 0.8318 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001386/0.3343, allocations: 49.94 kB / 0.8318 GB, free: 5.359 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.3343, allocations: 8 kB / 0.8318 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.143e-06/0.3343, allocations: 0 / 0.8318 GB, free: 5.352 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 4.539e-06/0.3343, allocations: 0 / 0.8318 GB, free: 5.352 MB / 0.6387 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.0005681/0.3349, allocations: 371.2 kB / 0.8322 GB, free: 4.938 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.3349, allocations: 9.703 kB / 0.8322 GB, free: 4.93 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.614e-05/0.3349, allocations: 4.172 kB / 0.8322 GB, free: 4.926 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.359e-05/0.335, allocations: 38.75 kB / 0.8322 GB, free: 4.879 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.31e-05/0.335, allocations: 8.891 kB / 0.8322 GB, free: 4.871 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001542/0.3352, allocations: 172.3 kB / 0.8324 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.3352, allocations: 12.25 kB / 0.8324 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.3352, allocations: 384 / 0.8324 GB, free: 4.652 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002725/0.3354, allocations: 73.97 kB / 0.8325 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.215e-06/0.3355, allocations: 0 / 0.8325 GB, free: 4.574 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3355, allocations: 4 kB / 0.8325 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.3355, allocations: 0 / 0.8325 GB, free: 4.57 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.3358, allocations: 71.92 kB / 0.8325 GB, free: 4.5 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.3362, allocations: 292.7 kB / 0.8328 GB, free: 4.164 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/0.3364, allocations: 54.52 kB / 0.8329 GB, free: 4.102 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.3366, allocations: 40.92 kB / 0.8329 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001709/0.3367, allocations: 89.09 kB / 0.833 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.859e-05/0.3368, allocations: 30.56 kB / 0.833 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=3): time 1.352e-06/0.3368, allocations: 0 / 0.833 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3): time 0.0005684/0.3373, allocations: 137.5 kB / 0.8332 GB, free: 3.773 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.233e-05/0.3374, allocations: 55.34 kB / 0.8332 GB, free: 3.707 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001026/0.3375, allocations: 113.8 kB / 0.8333 GB, free: 3.586 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.922e-05/0.3375, allocations: 29.7 kB / 0.8333 GB, free: 3.551 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 7.06e-05/0.3376, allocations: 96.08 kB / 0.8334 GB, free: 3.453 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.751e-05/0.3376, allocations: 3.953 kB / 0.8334 GB, free: 3.449 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.589e-05/0.3376, allocations: 17.72 kB / 0.8335 GB, free: 3.426 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.3378, allocations: 322.8 kB / 0.8338 GB, free: 3.102 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001515/0.3379, allocations: 27.97 kB / 0.8338 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.3381, allocations: 35.95 kB / 0.8338 GB, free: 3.039 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002796/0.3383, allocations: 68.8 kB / 0.8339 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.3383, allocations: 0 / 0.8339 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003448/0.3387, allocations: 105.5 kB / 0.834 GB, free: 2.859 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.304e-05/0.3387, allocations: 4 kB / 0.834 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.3387, allocations: 0 / 0.834 GB, free: 2.855 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.379e-05/0.3387, allocations: 4 kB / 0.834 GB, free: 2.852 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001238/0.3388, allocations: 15.98 kB / 0.834 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.549e-06/0.3388, allocations: 0 / 0.834 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.916e-05/0.3389, allocations: 11.98 kB / 0.834 GB, free: 2.824 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.3389, allocations: 0 / 0.834 GB, free: 2.824 MB / 0.6387 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 9.512e-05/0.339, allocations: 126.4 kB / 0.8342 GB, free: 2.691 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.3391, allocations: 3.953 kB / 0.8342 GB, free: 2.688 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003987/0.3395, allocations: 117.4 kB / 0.8343 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.3395, allocations: 4 kB / 0.8343 GB, free: 2.551 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3395, allocations: 4 kB / 0.8343 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.3395, allocations: 0 / 0.8343 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001939/0.3397, allocations: 177.6 kB / 0.8344 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3397, allocations: 0 / 0.8344 GB, free: 2.324 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.611e-05/0.3398, allocations: 15.98 kB / 0.8345 GB, free: 2.309 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.3398, allocations: 4 kB / 0.8345 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.366e-06/0.3398, allocations: 0 / 0.8345 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.3398, allocations: 0 / 0.8345 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3398, allocations: 0 / 0.8345 GB, free: 2.305 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003922/0.3402, allocations: 199.8 kB / 0.8347 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 5.057e-05/0.3402, allocations: 89 kB / 0.8347 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.42e-05/0.3402, allocations: 48 / 0.8347 GB, free: 1.988 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001098/0.3403, allocations: 15.97 kB / 0.8348 GB, free: 1.973 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.689e-05/0.3404, allocations: 11.92 kB / 0.8348 GB, free: 1.961 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.3404, allocations: 4 kB / 0.8348 GB, free: 1.957 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 6.963e-05/0.3405, allocations: 94.77 kB / 0.8349 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.3405, allocations: 0 / 0.8349 GB, free: 1.867 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002346/0.3407, allocations: 12 kB / 0.8349 GB, free: 1.855 MB / 0.6387 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.00079/0.3415, allocations: 0.7435 MB / 0.8356 GB, free: 1.086 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0003548/0.3419, allocations: 75.86 kB / 0.8357 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3419, allocations: 0 / 0.8357 GB, free: 1.012 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.342, allocations: 35.95 kB / 0.8357 GB, free: 0.9766 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003214/0.3423, allocations: 9.25 kB / 0.8357 GB, free: 0.9688 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002059/0.3444, allocations: 1.426 MB / 0.8371 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003558/0.3448, allocations: 0.6922 MB / 0.8378 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.347e-05/0.3448, allocations: 0 / 0.8378 GB, free: 14.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/0.3448, allocations: 19.44 kB / 0.8378 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of SimCode: time 2.9e-07/0.3448, allocations: 0 / 0.8378 GB, free: 14.73 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01885/0.3637, allocations: 2.116 MB / 0.8399 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.428/8.792, allocations: 3.859 kB / 0.8399 GB, free: 12.75 MB / 0.6544 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Examples_Density_pTX.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 12.511544784996659] Failed to read output from testmodel.py, exit status != 0: 9.185447698982898 8.941093123 8.602274054 Calling exit ...