Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00158/0.00158, allocations: 103.5 kB / 15.98 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001817/0.001817, allocations: 195.5 kB / 16.91 MB, free: 6.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.376/1.376, allocations: 222.9 MB / 240.6 MB, free: 15.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7387/0.7387, allocations: 115.3 MB / 406.1 MB, free: 6.406 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00155/0.00155, allocations: 75.88 kB / 493.2 MB, free: 0.6211 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4246/0.4262, allocations: 76.17 MB / 0.556 GB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi): time 0.002471/0.4287, allocations: 1.322 MB / 0.5573 GB, free: 35.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001198/0.4299, allocations: 0.8677 MB / 0.5582 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.142e-05/0.43, allocations: 0 / 0.5582 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.131e-05/0.43, allocations: 1.875 kB / 0.5582 GB, free: 34.76 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.029e-05/0.4301, allocations: 7.859 kB / 0.5582 GB, free: 34.75 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006046/0.4307, allocations: 173.7 kB / 0.5583 GB, free: 34.69 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.258e-05/0.4307, allocations: 20.91 kB / 0.5584 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.4308, allocations: 3.5 kB / 0.5584 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.518e-05/0.4308, allocations: 5.328 kB / 0.5584 GB, free: 34.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.658e-05/0.4309, allocations: 18.88 kB / 0.5584 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.4309, allocations: 0 / 0.5584 GB, free: 34.66 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.4312, allocations: 196.8 kB / 0.5586 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.166e-05/0.4312, allocations: 3.516 kB / 0.5586 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.354e-05/0.4313, allocations: 4.625 kB / 0.5586 GB, free: 34.61 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000257/0.4315, allocations: 155.9 kB / 0.5587 GB, free: 34.56 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.4315, allocations: 0 / 0.5587 GB, free: 34.56 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.4315, allocations: 2.312 kB / 0.5587 GB, free: 34.56 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.69e-06/0.4315, allocations: 0 / 0.5587 GB, free: 34.56 MB / 446.1 MB 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.0003708/0.4319, allocations: 355.1 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.276e-05/0.432, allocations: 9.969 kB / 0.5591 GB, free: 34.19 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.812e-05/0.432, allocations: 35.16 kB / 0.5591 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001768/0.4322, allocations: 8.109 kB / 0.5591 GB, free: 34.15 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.04e-05/0.4323, allocations: 162.5 kB / 0.5593 GB, free: 33.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.203e-05/0.4323, allocations: 5.844 kB / 0.5593 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.413e-05/0.4323, allocations: 5.406 kB / 0.5593 GB, free: 33.95 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001146/0.4324, allocations: 48.39 kB / 0.5593 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/0.4324, allocations: 0 / 0.5593 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.4325, allocations: 6.531 kB / 0.5593 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.049e-06/0.4325, allocations: 1.25 kB / 0.5593 GB, free: 33.91 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.299e-05/0.4325, allocations: 15.16 kB / 0.5594 GB, free: 33.9 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001308/0.4327, allocations: 168.1 kB / 0.5595 GB, free: 33.7 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009683/0.4336, allocations: 131 kB / 0.5596 GB, free: 33.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.745e-05/0.4337, allocations: 23.89 kB / 0.5597 GB, free: 33.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-05/0.4338, allocations: 85.09 kB / 0.5597 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.4338, allocations: 37.14 kB / 0.5598 GB, free: 33.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=4): time 1.884e-06/0.4338, allocations: 0.8438 kB / 0.5598 GB, free: 33.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001781/0.434, allocations: 60.03 kB / 0.5598 GB, free: 33.47 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.435e-05/0.434, allocations: 52.59 kB / 0.5599 GB, free: 33.41 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.183e-05/0.4341, allocations: 92.12 kB / 0.56 GB, free: 33.31 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.4341, allocations: 32.45 kB / 0.56 GB, free: 33.28 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.414e-05/0.4341, allocations: 80.14 kB / 0.5601 GB, free: 33.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.4342, allocations: 14.55 kB / 0.5601 GB, free: 33.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-05/0.4342, allocations: 19.14 kB / 0.5601 GB, free: 33.16 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.563e-05/0.4343, allocations: 318.6 kB / 0.5604 GB, free: 32.85 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.267e-05/0.4343, allocations: 9.484 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.979e-05/0.4343, allocations: 6.859 kB / 0.5604 GB, free: 32.84 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.013e-05/0.4344, allocations: 28.41 kB / 0.5605 GB, free: 32.83 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4344, allocations: 0 / 0.5605 GB, free: 32.83 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.963e-05/0.4345, allocations: 57.14 kB / 0.5605 GB, free: 32.79 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.49e-05/0.4345, allocations: 6.719 kB / 0.5605 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.4345, allocations: 0 / 0.5605 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.4345, allocations: 0.9375 kB / 0.5605 GB, free: 32.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.871e-05/0.4346, allocations: 11.91 kB / 0.5605 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4346, allocations: 0.9688 kB / 0.5605 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.178e-05/0.4346, allocations: 2.141 kB / 0.5605 GB, free: 32.78 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.4346, allocations: 5.875 kB / 0.5605 GB, free: 32.78 MB / 446.1 MB 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 5.751e-05/0.4347, allocations: 120.9 kB / 0.5607 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.092e-05/0.4347, allocations: 1.344 kB / 0.5607 GB, free: 32.65 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002504/0.435, allocations: 76.11 kB / 0.5607 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.435, allocations: 2.203 kB / 0.5607 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.435, allocations: 0 / 0.5607 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.435, allocations: 1.859 kB / 0.5607 GB, free: 32.61 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.77e-05/0.4351, allocations: 163.2 kB / 0.5609 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4351, allocations: 0.6094 kB / 0.5609 GB, free: 32.41 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.4352, allocations: 12.23 kB / 0.5609 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4352, allocations: 2.109 kB / 0.5609 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-06/0.4352, allocations: 1.469 kB / 0.5609 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/0.4352, allocations: 0.7969 kB / 0.5609 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.4352, allocations: 1.156 kB / 0.5609 GB, free: 32.4 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001014/0.4353, allocations: 94.7 kB / 0.561 GB, free: 32.32 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.659e-05/0.4353, allocations: 87.11 kB / 0.5611 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.4354, allocations: 0 / 0.5611 GB, free: 32.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.993e-05/0.4354, allocations: 6.172 kB / 0.5611 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.798e-05/0.4354, allocations: 4.531 kB / 0.5611 GB, free: 32.21 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.163e-06/0.4355, allocations: 3.406 kB / 0.5611 GB, free: 32.21 MB / 446.1 MB Notification: Performance of sorting global known variables: time 1.83e-05/0.4355, allocations: 76.66 kB / 0.5612 GB, free: 32.14 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4355, allocations: 0.9688 kB / 0.5612 GB, free: 32.14 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002488/0.4357, allocations: 46.16 kB / 0.5612 GB, free: 32.13 MB / 446.1 MB 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.000537/0.4363, allocations: 0.6914 MB / 0.5619 GB, free: 31.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001129/0.4364, allocations: 28.05 kB / 0.5619 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4364, allocations: 5.062 kB / 0.5619 GB, free: 31.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 3.041e-05/0.4365, allocations: 20.59 kB / 0.5619 GB, free: 31.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.4366, allocations: 7.594 kB / 0.5619 GB, free: 31.48 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004585/0.4371, allocations: 181.5 kB / 0.5621 GB, free: 31.32 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001246/0.4372, allocations: 0.6786 MB / 0.5628 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 6.8e-05/0.4373, allocations: 8.578 kB / 0.5628 GB, free: 30.62 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.568e-05/0.4373, allocations: 11.95 kB / 0.5628 GB, free: 30.61 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4374, allocations: 0 / 0.5628 GB, free: 30.61 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.4521, allocations: 1.864 MB / 0.5646 GB, free: 30.38 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002312/0.4524, allocations: 254.4 kB / 0.5649 GB, free: 30.13 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.814/2.266, allocations: 1.625 kB / 0.5649 GB, free: 30.13 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_TDewPoi.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_TDewPoi.pipe 2>&1)