Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="BuildingSystems_BuildingSystems_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.001296/0.001296, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001438/0.001439, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.375/1.375, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002442/0.002441, allocations: 295 kB / 290.7 MB, free: 1.988 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.044/1.044, allocations: 178.6 MB / 0.5073 GB, free: 4.594 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002593/0.002593, allocations: 104.7 kB / 0.6065 GB, free: 24.57 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.156, allocations: 89.15 MB / 0.6936 GB, free: 4.223 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002261/0.1583, allocations: 1.25 MB / 0.6948 GB, free: 2.969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005275/0.1589, allocations: 305.8 kB / 0.6951 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.918e-05/0.1589, allocations: 1.719 kB / 0.6951 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.446e-05/0.1589, allocations: 0 / 0.6951 GB, free: 2.672 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.945e-05/0.159, allocations: 3.938 kB / 0.6951 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002532/0.1592, allocations: 48.94 kB / 0.6952 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.559e-05/0.1593, allocations: 23.86 kB / 0.6952 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.3e-05/0.1593, allocations: 1.438 kB / 0.6952 GB, free: 2.598 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.995e-05/0.1594, allocations: 11.94 kB / 0.6952 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.468e-05/0.1594, allocations: 11.97 kB / 0.6952 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.056e-05/0.1594, allocations: 0 / 0.6952 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001261/0.1596, allocations: 58.86 kB / 0.6953 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.345e-05/0.1596, allocations: 7.938 kB / 0.6953 GB, free: 2.512 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.964e-05/0.1596, allocations: 4 kB / 0.6953 GB, free: 2.508 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.1597, allocations: 52.11 kB / 0.6953 GB, free: 2.457 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.921e-06/0.1598, allocations: 3.984 kB / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.1598, allocations: 0 / 0.6953 GB, free: 2.453 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.1598, allocations: 0 / 0.6953 GB, free: 2.453 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.0003885/0.1602, allocations: 341.6 kB / 0.6957 GB, free: 2.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.1602, allocations: 8.031 kB / 0.6957 GB, free: 2.062 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.381e-05/0.1602, allocations: 30.75 kB / 0.6957 GB, free: 2.023 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002052/0.1604, allocations: 20.83 kB / 0.6957 GB, free: 2.004 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.1606, allocations: 164.4 kB / 0.6959 GB, free: 1.805 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-06/0.1606, allocations: 4.375 kB / 0.6959 GB, free: 1.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.1606, allocations: 4.359 kB / 0.6959 GB, free: 1.797 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000115/0.1607, allocations: 46.25 kB / 0.6959 GB, free: 1.746 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1607, allocations: 11.88 kB / 0.6959 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.316e-06/0.1608, allocations: 0 / 0.6959 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.1608, allocations: 0 / 0.6959 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.487e-05/0.1608, allocations: 12 kB / 0.696 GB, free: 1.723 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.161, allocations: 153.7 kB / 0.6961 GB, free: 1.523 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001812/0.1628, allocations: 270.5 kB / 0.6964 GB, free: 1.25 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.561e-05/0.1629, allocations: 20.84 kB / 0.6964 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.1629, allocations: 0 / 0.6964 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.181e-05/0.1629, allocations: 34.56 kB / 0.6964 GB, free: 1.184 MB / 494.1 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.1629, allocations: 3.938 kB / 0.6964 GB, free: 1.18 MB / 494.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001698/0.1631, allocations: 69.62 kB / 0.6965 GB, free: 1.105 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.959e-05/0.1631, allocations: 55.34 kB / 0.6965 GB, free: 1.039 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.984e-05/0.1632, allocations: 89.86 kB / 0.6966 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.1632, allocations: 25.7 kB / 0.6966 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.019e-05/0.1633, allocations: 84.14 kB / 0.6967 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.984e-05/0.1633, allocations: 19.73 kB / 0.6967 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.598e-05/0.1633, allocations: 17.72 kB / 0.6968 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001362/0.1635, allocations: 315 kB / 0.6971 GB, free: 476 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.1635, allocations: 4 kB / 0.6971 GB, free: 472 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.1635, allocations: 11.98 kB / 0.6971 GB, free: 460 kB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.23e-05/0.1636, allocations: 28.8 kB / 0.6971 GB, free: 428 kB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1636, allocations: 0 / 0.6971 GB, free: 428 kB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.513e-05/0.1637, allocations: 53.69 kB / 0.6972 GB, free: 368 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.739e-05/0.1637, allocations: 7.938 kB / 0.6972 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/0.1637, allocations: 0 / 0.6972 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.1637, allocations: 0 / 0.6972 GB, free: 360 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.008e-05/0.1638, allocations: 12 kB / 0.6972 GB, free: 348 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.919e-06/0.1638, allocations: 4 kB / 0.6972 GB, free: 344 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.299e-05/0.1639, allocations: 7.938 kB / 0.6972 GB, free: 336 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.988e-06/0.1639, allocations: 0 / 0.6972 GB, free: 336 kB / 494.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 7.904e-05/0.164, allocations: 113.8 kB / 0.6973 GB, free: 212 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.135e-05/0.164, allocations: 8.203 kB / 0.6973 GB, free: 204 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.76e-05/0.164, allocations: 7.5 kB / 0.6973 GB, free: 196 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.164, allocations: 3.984 kB / 0.6973 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.164, allocations: 4 kB / 0.6973 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.164, allocations: 0 / 0.6973 GB, free: 188 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000135/0.1642, allocations: 157.7 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1642, allocations: 0 / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.337e-05/0.1642, allocations: 4 kB / 0.6975 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1642, allocations: 3.938 kB / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.152e-06/0.1642, allocations: 4 kB / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.32e-07/0.1643, allocations: 0 / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1643, allocations: 0 / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001084/0.1644, allocations: 85.02 kB / 0.6976 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-05/0.1644, allocations: 77.11 kB / 0.6976 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.362e-05/0.1645, allocations: 15.88 kB / 0.6976 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.936e-05/0.1645, allocations: 0 / 0.6976 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.1645, allocations: 3.938 kB / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.707e-06/0.1646, allocations: 8 kB / 0.6977 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.727e-05/0.1646, allocations: 79.27 kB / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1646, allocations: 0 / 0.6977 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001759/0.1648, allocations: 4 kB / 0.6977 GB, free: 15.66 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.0003847/0.1652, allocations: 0.6164 MB / 0.6983 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001018/0.1653, allocations: 31.92 kB / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.1653, allocations: 0 / 0.6984 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.247e-05/0.1653, allocations: 15.94 kB / 0.6984 GB, free: 14.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.1656, allocations: 7.984 kB / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/0.166, allocations: 156.3 kB / 0.6985 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003085/0.1663, allocations: 0.6729 MB / 0.6992 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.838e-05/0.1664, allocations: 7.984 kB / 0.6992 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.1664, allocations: 11.44 kB / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of SimCode: time 2.315e-06/0.1664, allocations: 0 / 0.6992 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02104/0.1874, allocations: 1.313 MB / 0.7005 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.422/7.609, allocations: 7.5 kB / 0.7005 GB, free: 12.85 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)