Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001842/0.001842, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002485/0.002485, allocations: 211.7 kB / 22.24 MB, free: 5.262 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.534/1.534, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002774/0.002774, allocations: 297.7 kB / 312.7 MB, free: 2.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.273/1.273, allocations: 180.6 MB / 0.5369 GB, free: 14.58 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003101/0.003101, allocations: 107.1 kB / 0.7395 GB, free: 28.01 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2097, allocations: 95.37 MB / 0.8326 GB, free: 8.336 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002743/0.2125, allocations: 1.304 MB / 0.8339 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1488/0.3613, allocations: 115.7 MB / 0.9469 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.813e-05/0.3613, allocations: 0 / 0.9469 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 2.138e-05/0.3614, allocations: 3.984 kB / 0.947 GB, free: 2.832 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 5.257e-05/0.3614, allocations: 7.922 kB / 0.947 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.3618, allocations: 51.97 kB / 0.947 GB, free: 2.773 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 9.135e-05/0.3619, allocations: 31.69 kB / 0.947 GB, free: 2.746 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 3.955e-05/0.3619, allocations: 4 kB / 0.947 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 4.189e-05/0.3619, allocations: 8 kB / 0.9471 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 6.348e-05/0.362, allocations: 11.98 kB / 0.9471 GB, free: 2.723 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 1.422e-05/0.362, allocations: 3.938 kB / 0.9471 GB, free: 2.719 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 8.727e-05/0.3621, allocations: 19.92 kB / 0.9471 GB, free: 2.699 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 1.916e-05/0.3621, allocations: 3.984 kB / 0.9471 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 2.249e-05/0.3621, allocations: 4 kB / 0.9471 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.3623, allocations: 27.92 kB / 0.9471 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3623, allocations: 0 / 0.9471 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.202e-06/0.3623, allocations: 0 / 0.9471 GB, free: 2.664 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3623, allocations: 0 / 0.9471 GB, free: 2.664 MB / 0.6856 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.0004353/0.3627, allocations: 262.3 kB / 0.9474 GB, free: 2.375 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 6.2e-05/0.3628, allocations: 9.344 kB / 0.9474 GB, free: 2.367 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.685e-05/0.3628, allocations: 34.75 kB / 0.9474 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.305e-05/0.3629, allocations: 8.875 kB / 0.9474 GB, free: 2.316 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001077/0.363, allocations: 106.5 kB / 0.9475 GB, free: 2.188 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.974e-05/0.3631, allocations: 55.97 kB / 0.9476 GB, free: 2.121 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.3631, allocations: 4.375 kB / 0.9476 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.3632, allocations: 42 kB / 0.9476 GB, free: 2.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.103e-05/0.3632, allocations: 7.938 kB / 0.9476 GB, free: 2.062 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.315e-06/0.3632, allocations: 4 kB / 0.9476 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3632, allocations: 0 / 0.9476 GB, free: 2.059 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.685e-05/0.3633, allocations: 11.98 kB / 0.9476 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001607/0.3635, allocations: 128.7 kB / 0.9478 GB, free: 1.879 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001034/0.3636, allocations: 30.58 kB / 0.9478 GB, free: 1.84 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.26e-05/0.3636, allocations: 12.94 kB / 0.9478 GB, free: 1.824 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001376/0.3638, allocations: 15.98 kB / 0.9478 GB, free: 1.809 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.3638, allocations: 38.44 kB / 0.9479 GB, free: 1.762 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.3638, allocations: 4 kB / 0.9479 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3): time 0.0002207/0.364, allocations: 61.61 kB / 0.9479 GB, free: 1.691 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.93e-05/0.3641, allocations: 51.41 kB / 0.948 GB, free: 1.629 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.125e-05/0.3641, allocations: 101.8 kB / 0.9481 GB, free: 1.52 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 1.742e-05/0.3642, allocations: 25.7 kB / 0.9481 GB, free: 1.488 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 3.583e-05/0.3642, allocations: 80.14 kB / 0.9482 GB, free: 1.406 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.3642, allocations: 15.89 kB / 0.9482 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.713e-05/0.3643, allocations: 17.72 kB / 0.9482 GB, free: 1.367 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000141/0.3644, allocations: 310.8 kB / 0.9485 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.391e-05/0.3644, allocations: 8 kB / 0.9485 GB, free: 1.047 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.932e-05/0.3645, allocations: 7.984 kB / 0.9485 GB, free: 1.039 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.815e-05/0.3646, allocations: 28.78 kB / 0.9485 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.3646, allocations: 0 / 0.9485 GB, free: 1.008 MB / 0.6856 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001203/0.3647, allocations: 46.16 kB / 0.9486 GB, free: 0.957 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.878e-05/0.3647, allocations: 11.94 kB / 0.9486 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3647, allocations: 0 / 0.9486 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.401e-05/0.3647, allocations: 48 / 0.9486 GB, free: 0.9453 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.3648, allocations: 7.984 kB / 0.9486 GB, free: 0.9375 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.766e-06/0.3648, allocations: 7.984 kB / 0.9486 GB, free: 0.9297 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.339e-05/0.3648, allocations: 8 kB / 0.9486 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3648, allocations: 0 / 0.9486 GB, free: 0.9219 MB / 0.6856 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 8.404e-05/0.3649, allocations: 106.5 kB / 0.9487 GB, free: 0.8086 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.176e-05/0.3649, allocations: 7.938 kB / 0.9487 GB, free: 0.8008 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001658/0.3651, allocations: 61.3 kB / 0.9488 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.3651, allocations: 0 / 0.9488 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.467e-06/0.3651, allocations: 0 / 0.9488 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.3651, allocations: 0 / 0.9488 GB, free: 0.7266 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001079/0.3652, allocations: 128.7 kB / 0.9489 GB, free: 0.5586 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3652, allocations: 4 kB / 0.9489 GB, free: 0.5547 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.18e-05/0.3653, allocations: 4 kB / 0.9489 GB, free: 0.5508 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.619e-06/0.3653, allocations: 3.938 kB / 0.9489 GB, free: 0.5469 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.3653, allocations: 4 kB / 0.9489 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.3653, allocations: 0 / 0.9489 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3653, allocations: 0 / 0.9489 GB, free: 0.543 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001499/0.3654, allocations: 81 kB / 0.949 GB, free: 456 kB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 3.331e-05/0.3655, allocations: 7.938 kB / 0.949 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.268e-05/0.3655, allocations: 0 / 0.949 GB, free: 448 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.004e-05/0.3655, allocations: 8 kB / 0.949 GB, free: 440 kB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.668e-05/0.3655, allocations: 11.98 kB / 0.949 GB, free: 428 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.3655, allocations: 3.938 kB / 0.949 GB, free: 424 kB / 0.6856 GB Notification: Performance of sorting global known variables: time 4.711e-05/0.3656, allocations: 79.28 kB / 0.9491 GB, free: 344 kB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.3656, allocations: 3.938 kB / 0.9491 GB, free: 340 kB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0001941/0.3658, allocations: 11.94 kB / 0.9491 GB, free: 328 kB / 0.6856 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.000541/0.3663, allocations: 0.6202 MB / 0.9497 GB, free: 15.67 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0001633/0.3665, allocations: 23.98 kB / 0.9498 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.3665, allocations: 4 kB / 0.9498 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 4.756e-05/0.3665, allocations: 4 kB / 0.9498 GB, free: 15.64 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002472/0.3668, allocations: 7.984 kB / 0.9498 GB, free: 15.63 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004279/0.3672, allocations: 161.6 kB / 0.9499 GB, free: 15.43 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.356e-05/0.3673, allocations: 59.34 kB / 0.95 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 3.646e-05/0.3673, allocations: 8 kB / 0.95 GB, free: 15.35 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.809e-05/0.3673, allocations: 7.438 kB / 0.95 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of SimCode: time 4.2e-07/0.3673, allocations: 0 / 0.95 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.3972, allocations: 1.919 MB / 0.9519 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.55, allocations: 9.219 kB / 0.9519 GB, free: 13.56 MB / 0.7012 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_Density_pTX.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.986021365970373] Failed to read output from testmodel.py, exit status != 0: 11.657406853046268 11.686577737 11.319121229 Calling exit ...