Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.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_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X",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.001673/0.001673, allocations: 107.4 kB / 16.41 MB, free: 6.492 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.001823/0.001823, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.782/0.782, allocations: 126.7 MB / 417.9 MB, free: 12.31 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001866/0.001867, allocations: 64.55 kB / 0.5735 GB, free: 27.09 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1323/0.1342, allocations: 78.88 MB / 0.6506 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002272/0.1365, allocations: 1.247 MB / 0.6518 GB, free: 2.379 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000554/0.1371, allocations: 295.4 kB / 0.6521 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.095e-05/0.1371, allocations: 0 / 0.6521 GB, free: 2.09 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.814e-05/0.1372, allocations: 7.875 kB / 0.6521 GB, free: 2.082 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.654e-05/0.1372, allocations: 4 kB / 0.6521 GB, free: 2.078 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002645/0.1375, allocations: 47.75 kB / 0.6521 GB, free: 2.031 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.572e-05/0.1375, allocations: 23.86 kB / 0.6521 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.367e-05/0.1376, allocations: 3.984 kB / 0.6521 GB, free: 2.004 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.1376, allocations: 11.94 kB / 0.6521 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.054e-05/0.1377, allocations: 0 / 0.6521 GB, free: 1.992 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.249e-05/0.1377, allocations: 4 kB / 0.6522 GB, free: 1.988 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.1378, allocations: 59.94 kB / 0.6522 GB, free: 1.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.259e-05/0.1378, allocations: 4 kB / 0.6522 GB, free: 1.926 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.609e-05/0.1379, allocations: 7.938 kB / 0.6522 GB, free: 1.918 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.138, allocations: 44.17 kB / 0.6523 GB, free: 1.875 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.138, allocations: 4 kB / 0.6523 GB, free: 1.871 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.262e-06/0.138, allocations: 3.938 kB / 0.6523 GB, free: 1.867 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.138, allocations: 0 / 0.6523 GB, free: 1.867 MB / 494.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.0004055/0.1384, allocations: 339.3 kB / 0.6526 GB, free: 1.484 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.808e-05/0.1385, allocations: 12.03 kB / 0.6526 GB, free: 1.473 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.82e-05/0.1385, allocations: 34.75 kB / 0.6526 GB, free: 1.43 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000203/0.1387, allocations: 20.91 kB / 0.6527 GB, free: 1.41 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.1389, allocations: 164.3 kB / 0.6528 GB, free: 1.211 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1389, allocations: 4.375 kB / 0.6528 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.663e-06/0.1389, allocations: 384 / 0.6528 GB, free: 1.207 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.139, allocations: 46.19 kB / 0.6529 GB, free: 1.156 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.595e-05/0.139, allocations: 3.938 kB / 0.6529 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.709e-06/0.1391, allocations: 0 / 0.6529 GB, free: 1.152 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1391, allocations: 4 kB / 0.6529 GB, free: 1.148 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.996e-05/0.1391, allocations: 15.98 kB / 0.6529 GB, free: 1.133 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001759/0.1393, allocations: 157.7 kB / 0.653 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001863/0.1412, allocations: 270.4 kB / 0.6533 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.561e-05/0.1412, allocations: 24.8 kB / 0.6533 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.415e-05/0.1413, allocations: 3.984 kB / 0.6533 GB, free: 0.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.1413, allocations: 34.56 kB / 0.6534 GB, free: 0.582 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.382e-06/0.1413, allocations: 0 / 0.6534 GB, free: 0.582 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001643/0.1415, allocations: 65.62 kB / 0.6534 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.125e-05/0.1415, allocations: 51.41 kB / 0.6535 GB, free: 460 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.056e-05/0.1416, allocations: 93.86 kB / 0.6536 GB, free: 356 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.633e-05/0.1416, allocations: 25.7 kB / 0.6536 GB, free: 324 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.479e-05/0.1417, allocations: 82 kB / 0.6537 GB, free: 240 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.1417, allocations: 16.03 kB / 0.6537 GB, free: 224 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.606e-05/0.1417, allocations: 17.7 kB / 0.6537 GB, free: 200 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001631/0.1419, allocations: 310.8 kB / 0.654 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.1419, allocations: 11.94 kB / 0.654 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.142, allocations: 15.94 kB / 0.654 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.566e-05/0.142, allocations: 28.84 kB / 0.654 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.142, allocations: 3.938 kB / 0.654 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.701e-05/0.1421, allocations: 49.69 kB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.85e-05/0.1422, allocations: 11.94 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.1422, allocations: 4 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.1422, allocations: 4 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.896e-05/0.1422, allocations: 4 kB / 0.6541 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.88e-06/0.1423, allocations: 3.938 kB / 0.6541 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.291e-05/0.1423, allocations: 7.953 kB / 0.6541 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.119e-06/0.1423, allocations: 0 / 0.6541 GB, free: 15.73 MB / 0.4981 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 8.846e-05/0.1424, allocations: 109.8 kB / 0.6542 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.351e-05/0.1424, allocations: 7.938 kB / 0.6542 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.816e-05/0.1425, allocations: 7.5 kB / 0.6542 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1425, allocations: 7.984 kB / 0.6543 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1425, allocations: 0 / 0.6543 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.1425, allocations: 0 / 0.6543 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001383/0.1426, allocations: 157.7 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1426, allocations: 0 / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.426e-05/0.1427, allocations: 8 kB / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.1427, allocations: 3.938 kB / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.1427, allocations: 0 / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1427, allocations: 0 / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.1427, allocations: 0 / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001149/0.1428, allocations: 89.39 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.164e-05/0.1429, allocations: 85.03 kB / 0.6546 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.321e-05/0.1429, allocations: 3.938 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.038e-05/0.143, allocations: 48 / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.143, allocations: 7.984 kB / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.472e-06/0.143, allocations: 0 / 0.6546 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.167e-05/0.1431, allocations: 75.28 kB / 0.6547 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1431, allocations: 96 / 0.6547 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001894/0.1433, allocations: 16 kB / 0.6547 GB, free: 15.07 MB / 0.4981 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 (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 Backend phase and start with SimCode phase: time 0.000443/0.1437, allocations: 0.6163 MB / 0.6553 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.949e-05/0.1439, allocations: 23.94 kB / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.288e-06/0.1439, allocations: 0 / 0.6553 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.983e-05/0.1439, allocations: 23.92 kB / 0.6553 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.1442, allocations: 15.92 kB / 0.6553 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004198/0.1446, allocations: 144.3 kB / 0.6555 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.1449, allocations: 0.6768 MB / 0.6561 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.328e-05/0.145, allocations: 12 kB / 0.6562 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.145, allocations: 7.438 kB / 0.6562 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.145, allocations: 0 / 0.6562 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.1664, allocations: 1.314 MB / 0.6574 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.264/8.43, allocations: 17.36 kB / 0.6575 GB, free: 12.22 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IBPSA_latest_IBPSA.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)