Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.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.001384/0.001384, allocations: 115.6 kB / 17.16 MB, free: 5.895 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.001509/0.001509, allocations: 215 kB / 20.13 MB, free: 2.949 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.536/1.536, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002449/0.002449, allocations: 280.8 kB / 309.8 MB, free: 3.484 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.086/1.086, allocations: 180.6 MB / 0.5338 GB, free: 12.36 MB / 398.1 MB " [Timeout remaining time 178] 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.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="cs",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.00338/0.00338, allocations: 99.84 kB / 0.7347 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6601/0.6635, allocations: 95.33 MB / 0.8278 GB, free: 3.039 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002294/0.6658, allocations: 1.306 MB / 0.8291 GB, free: 2.121 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.6671, allocations: 0.9335 MB / 0.83 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.574e-05/0.6671, allocations: 0 / 0.83 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.182e-05/0.6672, allocations: 4.641 kB / 0.83 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.963e-05/0.6672, allocations: 0.8906 kB / 0.83 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006707/0.6679, allocations: 196.7 kB / 0.8302 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.855e-05/0.6679, allocations: 17.78 kB / 0.8302 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.281e-05/0.668, allocations: 11.38 kB / 0.8302 GB, free: 1.391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.668, allocations: 9.984 kB / 0.8302 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.116e-05/0.6681, allocations: 4.219 kB / 0.8302 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.047e-05/0.6681, allocations: 3.984 kB / 0.8302 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004043/0.6685, allocations: 245.8 kB / 0.8304 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.131e-05/0.6685, allocations: 0.75 kB / 0.8304 GB, free: 1.309 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.576e-05/0.6685, allocations: 17.91 kB / 0.8305 GB, free: 1.297 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002752/0.6688, allocations: 160.4 kB / 0.8306 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.6688, allocations: 0 / 0.8306 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.292e-06/0.6688, allocations: 0 / 0.8306 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.6688, allocations: 6.844 kB / 0.8306 GB, free: 1.246 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.00041/0.6692, allocations: 356.9 kB / 0.831 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.29e-05/0.6693, allocations: 11.25 kB / 0.831 GB, free: 0.875 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.806e-05/0.6693, allocations: 4.125 kB / 0.831 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.023e-05/0.6693, allocations: 35.41 kB / 0.831 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002616/0.6696, allocations: 19.2 kB / 0.831 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.454e-05/0.6696, allocations: 161.9 kB / 0.8312 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.6696, allocations: 8.125 kB / 0.8312 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.787e-06/0.6697, allocations: 2.625 kB / 0.8312 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001193/0.6698, allocations: 43.2 kB / 0.8312 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.6698, allocations: 0 / 0.8312 GB, free: 0.5898 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.115e-05/0.6698, allocations: 3.984 kB / 0.8312 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.6698, allocations: 0.6562 kB / 0.8312 GB, free: 0.5859 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.6699, allocations: 17.64 kB / 0.8312 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001176/0.67, allocations: 163.6 kB / 0.8314 GB, free: 388 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009098/0.6709, allocations: 135.6 kB / 0.8315 GB, free: 344 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.094e-05/0.6709, allocations: 16.19 kB / 0.8315 GB, free: 332 kB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000105/0.671, allocations: 88.7 kB / 0.8316 GB, free: 232 kB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.743e-05/0.671, allocations: 31.17 kB / 0.8317 GB, free: 192 kB / 0.5762 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.671, allocations: 6.625 kB / 0.8317 GB, free: 188 kB / 0.5762 GB Notification: Performance of matching and sorting (n=4): time 0.0001882/0.6712, allocations: 69.69 kB / 0.8317 GB, free: 136 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.937e-05/0.6713, allocations: 52.11 kB / 0.8318 GB, free: 72 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.629e-05/0.6713, allocations: 93.05 kB / 0.8319 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.6714, allocations: 25.7 kB / 0.8319 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.6714, allocations: 80.14 kB / 0.832 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.725e-05/0.6714, allocations: 27.7 kB / 0.832 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.079e-05/0.6715, allocations: 13.56 kB / 0.832 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.6717, allocations: 319 kB / 0.8323 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.692e-05/0.6717, allocations: 7.75 kB / 0.8323 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.362e-05/0.6717, allocations: 10.89 kB / 0.8323 GB, free: 15.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.463e-05/0.6718, allocations: 26.78 kB / 0.8324 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.029e-06/0.6718, allocations: 3.938 kB / 0.8324 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001092/0.6719, allocations: 56.06 kB / 0.8324 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.6719, allocations: 3.156 kB / 0.8324 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.6719, allocations: 0 / 0.8324 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.6719, allocations: 0.5156 kB / 0.8324 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.911e-05/0.672, allocations: 16.22 kB / 0.8324 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.672, allocations: 0 / 0.8324 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.089e-05/0.672, allocations: 1.891 kB / 0.8324 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.518e-06/0.672, allocations: 3.641 kB / 0.8324 GB, free: 15.43 MB / 0.5919 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 (4): * Single equations (assignments): 4 * 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 0.0001101/0.6722, allocations: 113.8 kB / 0.8326 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.6722, allocations: 2.625 kB / 0.8326 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003519/0.6725, allocations: 82.12 kB / 0.8326 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.163e-06/0.6725, allocations: 3.328 kB / 0.8326 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.157e-06/0.6725, allocations: 0 / 0.8326 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.836e-06/0.6725, allocations: 0.8906 kB / 0.8326 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.6727, allocations: 162.3 kB / 0.8328 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.6727, allocations: 0 / 0.8328 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.5e-05/0.6728, allocations: 9.188 kB / 0.8328 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.533e-06/0.6728, allocations: 4.734 kB / 0.8328 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.32e-05/0.6728, allocations: 6.625 kB / 0.8328 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.6728, allocations: 0 / 0.8328 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.6728, allocations: 4.688 kB / 0.8328 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001702/0.673, allocations: 95.66 kB / 0.8329 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 9.834e-05/0.6731, allocations: 83.67 kB / 0.833 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/0.6731, allocations: 0.7031 kB / 0.833 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.83e-05/0.6732, allocations: 0 / 0.833 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-05/0.6732, allocations: 4.609 kB / 0.833 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.213e-06/0.6732, allocations: 5.312 kB / 0.833 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.921e-05/0.6732, allocations: 78.83 kB / 0.8331 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.6732, allocations: 0 / 0.8331 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003854/0.6736, allocations: 50.84 kB / 0.8331 GB, free: 14.77 MB / 0.5919 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 (5): * Single equations (assignments): 5 * 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.0007927/0.6744, allocations: 0.6779 MB / 0.8338 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000128/0.6745, allocations: 35.86 kB / 0.8338 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6745, allocations: 0 / 0.8338 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.935e-05/0.6746, allocations: 17.19 kB / 0.8338 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001828/0.6748, allocations: 6.344 kB / 0.8338 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005949/0.6754, allocations: 169.2 kB / 0.834 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003793/0.6757, allocations: 0.6785 MB / 0.8347 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 5.815e-05/0.6758, allocations: 15.33 kB / 0.8347 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.472e-05/0.6758, allocations: 13.17 kB / 0.8347 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of SimCode: time 3.1e-07/0.6758, allocations: 0 / 0.8347 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01839/0.6942, allocations: 2.088 MB / 0.8367 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.132/8.826, allocations: 11.56 kB / 0.8367 GB, free: 12.86 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 13.066410083032679] Failed to read output from testmodel.py, exit status != 0: 8.952054180030245 8.97300599 8.300143087 Calling exit ...