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.001239/0.001239, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001699/0.001699, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 8.031 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.00244/0.00244, allocations: 294.4 kB / 312.7 MB, free: 2.824 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.278/1.278, allocations: 180.6 MB / 0.5369 GB, free: 13.03 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.002838/0.002838, allocations: 109.5 kB / 0.7396 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2043/0.2072, allocations: 95.38 MB / 0.8327 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.Density_pTX): time 0.002352/0.2095, allocations: 1.296 MB / 0.834 GB, free: 7.328 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.1688/0.3783, allocations: 135.2 MB / 0.9661 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.529e-05/0.3783, allocations: 0 / 0.9661 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.085e-05/0.3783, allocations: 3.938 kB / 0.9661 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.3784, allocations: 7.938 kB / 0.9661 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004075/0.3788, allocations: 63.92 kB / 0.9661 GB, free: 15.52 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001084/0.3789, allocations: 23.86 kB / 0.9662 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.415e-05/0.379, allocations: 4 kB / 0.9662 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.735e-05/0.379, allocations: 4 kB / 0.9662 GB, free: 15.49 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.306e-05/0.3791, allocations: 15.92 kB / 0.9662 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.316e-05/0.3791, allocations: 4 kB / 0.9662 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 9.896e-05/0.3792, allocations: 15.94 kB / 0.9662 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.3792, allocations: 3.984 kB / 0.9662 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.86e-05/0.3792, allocations: 11.94 kB / 0.9662 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001208/0.3794, allocations: 23.97 kB / 0.9662 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.3794, allocations: 0 / 0.9662 GB, free: 15.42 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.823e-06/0.3794, allocations: 3.938 kB / 0.9662 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.21e-06/0.3794, allocations: 0 / 0.9662 GB, free: 15.41 MB / 0.7169 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.0004251/0.3798, allocations: 258.3 kB / 0.9665 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3798, allocations: 9.344 kB / 0.9665 GB, free: 15.12 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.702e-05/0.3799, allocations: 38.75 kB / 0.9665 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.586e-05/0.3799, allocations: 8.891 kB / 0.9665 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001129/0.3801, allocations: 106.5 kB / 0.9666 GB, free: 14.94 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001057/0.3802, allocations: 55.97 kB / 0.9667 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.3802, allocations: 4.375 kB / 0.9667 GB, free: 14.87 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001476/0.3803, allocations: 49.88 kB / 0.9667 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3803, allocations: 0 / 0.9667 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.847e-06/0.3803, allocations: 0 / 0.9667 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.3803, allocations: 4 kB / 0.9667 GB, free: 14.81 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.339e-05/0.3804, allocations: 11.98 kB / 0.9668 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001853/0.3806, allocations: 128.7 kB / 0.9669 GB, free: 14.63 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001129/0.3807, allocations: 26.58 kB / 0.9669 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.698e-05/0.3808, allocations: 20.94 kB / 0.9669 GB, free: 14.57 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001604/0.3809, allocations: 19.92 kB / 0.9669 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.008e-05/0.381, allocations: 34.5 kB / 0.967 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.381, allocations: 0 / 0.967 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3): time 0.0002482/0.3812, allocations: 49.69 kB / 0.967 GB, free: 14.45 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.3813, allocations: 59.39 kB / 0.9671 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.572e-05/0.3814, allocations: 97.86 kB / 0.9672 GB, free: 14.28 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.631e-05/0.3814, allocations: 25.7 kB / 0.9672 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.614e-05/0.3814, allocations: 84.14 kB / 0.9673 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.3815, allocations: 7.906 kB / 0.9673 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.657e-05/0.3815, allocations: 21.7 kB / 0.9673 GB, free: 14.12 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001308/0.3816, allocations: 310.8 kB / 0.9676 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.718e-05/0.3817, allocations: 4 kB / 0.9676 GB, free: 13.81 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.31e-05/0.3817, allocations: 15.92 kB / 0.9676 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.013e-05/0.3818, allocations: 25.31 kB / 0.9676 GB, free: 13.77 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3818, allocations: 4 kB / 0.9677 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001296/0.3819, allocations: 49.67 kB / 0.9677 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.014e-05/0.382, allocations: 11.94 kB / 0.9677 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.382, allocations: 0 / 0.9677 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.382, allocations: 0 / 0.9677 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.3821, allocations: 4 kB / 0.9677 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.3821, allocations: 0 / 0.9677 GB, free: 13.69 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.404e-05/0.3821, allocations: 7.984 kB / 0.9677 GB, free: 13.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.3821, allocations: 0 / 0.9677 GB, free: 13.68 MB / 0.7169 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.856e-05/0.3822, allocations: 114.4 kB / 0.9678 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.433e-05/0.3822, allocations: 7.938 kB / 0.9678 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001748/0.3824, allocations: 61.3 kB / 0.9679 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.766e-06/0.3824, allocations: 0 / 0.9679 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.3824, allocations: 0 / 0.9679 GB, free: 13.48 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-06/0.3824, allocations: 7.938 kB / 0.9679 GB, free: 13.47 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001207/0.3825, allocations: 128.7 kB / 0.968 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3825, allocations: 0 / 0.968 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.557e-05/0.3826, allocations: 4 kB / 0.968 GB, free: 13.3 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.3826, allocations: 7.938 kB / 0.968 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.523e-06/0.3826, allocations: 0 / 0.968 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3826, allocations: 0 / 0.968 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.3826, allocations: 0 / 0.968 GB, free: 13.29 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.3827, allocations: 81.05 kB / 0.9681 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 4.073e-05/0.3828, allocations: 7.938 kB / 0.9681 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3828, allocations: 4 kB / 0.9681 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.757e-05/0.3828, allocations: 4 kB / 0.9681 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.3829, allocations: 7.984 kB / 0.9681 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-06/0.3829, allocations: 0 / 0.9681 GB, free: 13.17 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.051e-05/0.3829, allocations: 75.28 kB / 0.9682 GB, free: 13.1 MB / 0.7169 GB Notification: Performance of sort global known variables: time 8e-08/0.3829, allocations: 4 kB / 0.9682 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0001996/0.3831, allocations: 11.94 kB / 0.9682 GB, free: 13.08 MB / 0.7169 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.0005549/0.3837, allocations: 0.6241 MB / 0.9688 GB, free: 12.43 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001622/0.3838, allocations: 19.98 kB / 0.9689 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3838, allocations: 0 / 0.9689 GB, free: 12.41 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.856e-05/0.3839, allocations: 8 kB / 0.9689 GB, free: 12.4 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.3842, allocations: 17 kB / 0.9689 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004814/0.3847, allocations: 161.8 kB / 0.969 GB, free: 12.18 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003205/0.385, allocations: 0.6773 MB / 0.9697 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.926e-05/0.385, allocations: 4 kB / 0.9697 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.385, allocations: 7.438 kB / 0.9697 GB, free: 11.47 MB / 0.7169 GB Notification: Performance of SimCode: time 4.01e-07/0.385, allocations: 4 kB / 0.9697 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03248/0.4175, allocations: 1.49 MB / 0.9712 GB, free: 10.12 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.23, allocations: 5.094 kB / 0.9712 GB, free: 10.12 MB / 0.7169 GB " [Timeout remaining time 649] (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.944766314001754] Failed to read output from testmodel.py, exit status != 0: 11.338011655025184 11.743861581 11.361732463 Calling exit ...