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.007706/0.007706, allocations: 103.2 kB / 15.74 MB, free: 6.066 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.001671/0.001671, allocations: 197 kB / 16.68 MB, free: 5.973 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.441/1.441, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002541/0.002542, allocations: 284.9 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.202/1.202, allocations: 178.6 MB / 0.5074 GB, free: 12.64 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002689/0.002689, allocations: 99.86 kB / 0.6943 GB, free: 15.18 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4268/0.4295, allocations: 89.12 MB / 0.7813 GB, free: 1.129 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001827/0.4313, allocations: 1.273 MB / 0.7826 GB, free: 124 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.000526/0.4319, allocations: 290 kB / 0.7829 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.4319, allocations: 0 / 0.7829 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.012e-05/0.4319, allocations: 3.938 kB / 0.7829 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.468e-05/0.432, allocations: 5.25 kB / 0.7829 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002695/0.4322, allocations: 48.7 kB / 0.7829 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.375e-05/0.4323, allocations: 24.08 kB / 0.7829 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.023e-05/0.4324, allocations: 7.094 kB / 0.7829 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 3.42e-05/0.4324, allocations: 7.469 kB / 0.7829 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.323e-05/0.4325, allocations: 3.344 kB / 0.783 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.4325, allocations: 0 / 0.783 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001378/0.4326, allocations: 61.31 kB / 0.783 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.276e-05/0.4326, allocations: 9.562 kB / 0.783 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.4327, allocations: 11.98 kB / 0.783 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001266/0.4328, allocations: 41.02 kB / 0.7831 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4328, allocations: 1.188 kB / 0.7831 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.182e-06/0.4328, allocations: 3.938 kB / 0.7831 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.529e-06/0.4328, allocations: 0 / 0.7831 GB, free: 15.77 MB / 0.5606 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.0003875/0.4332, allocations: 340 kB / 0.7834 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.4333, allocations: 8.812 kB / 0.7834 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.436e-05/0.4333, allocations: 40.05 kB / 0.7834 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001984/0.4335, allocations: 19.8 kB / 0.7835 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.4336, allocations: 164.3 kB / 0.7836 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.066e-05/0.4337, allocations: 1.625 kB / 0.7836 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.4337, allocations: 1.562 kB / 0.7836 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000104/0.4338, allocations: 45.41 kB / 0.7837 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.4338, allocations: 5.438 kB / 0.7837 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.177e-05/0.4338, allocations: 7.969 kB / 0.7837 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.687e-06/0.4338, allocations: 0 / 0.7837 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.834e-05/0.4339, allocations: 13.31 kB / 0.7837 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000165/0.434, allocations: 165.6 kB / 0.7838 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.4359, allocations: 261 kB / 0.7841 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.5e-05/0.436, allocations: 30.12 kB / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.319e-05/0.436, allocations: 0 / 0.7841 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/0.436, allocations: 35.59 kB / 0.7842 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.436, allocations: 1.25 kB / 0.7842 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4): time 0.0001613/0.4362, allocations: 64.06 kB / 0.7842 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.327e-05/0.4362, allocations: 52.38 kB / 0.7843 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.224e-05/0.4363, allocations: 94.98 kB / 0.7844 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.4363, allocations: 26.86 kB / 0.7844 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.564e-05/0.4364, allocations: 80.14 kB / 0.7845 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.867e-05/0.4364, allocations: 18.39 kB / 0.7845 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.694e-05/0.4364, allocations: 16.14 kB / 0.7845 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4366, allocations: 312.4 kB / 0.7848 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.208e-05/0.4366, allocations: 8.125 kB / 0.7848 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.4366, allocations: 16.64 kB / 0.7848 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.015e-05/0.4367, allocations: 24.42 kB / 0.7848 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.4367, allocations: 7.938 kB / 0.7849 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.486e-05/0.4368, allocations: 57.58 kB / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.4368, allocations: 9.062 kB / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.407e-06/0.4368, allocations: 0 / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.4368, allocations: 1.688 kB / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.479e-05/0.4369, allocations: 5.125 kB / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.4369, allocations: 0 / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.885e-05/0.4369, allocations: 1.688 kB / 0.7849 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.298e-06/0.4369, allocations: 0 / 0.7849 GB, free: 13.96 MB / 0.5606 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.306e-05/0.437, allocations: 119.4 kB / 0.785 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.164e-05/0.437, allocations: 5.75 kB / 0.785 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.88e-05/0.4371, allocations: 11.48 kB / 0.7851 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.4371, allocations: 1.688 kB / 0.7851 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.336e-06/0.4371, allocations: 0 / 0.7851 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.4371, allocations: 0 / 0.7851 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001252/0.4372, allocations: 158.8 kB / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4372, allocations: 0 / 0.7852 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.416e-05/0.4373, allocations: 10.31 kB / 0.7852 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.698e-06/0.4373, allocations: 4.266 kB / 0.7852 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.212e-06/0.4373, allocations: 4 kB / 0.7852 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.4373, allocations: 1.562 kB / 0.7852 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.4373, allocations: 0 / 0.7852 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.4374, allocations: 81.14 kB / 0.7853 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.115e-05/0.4375, allocations: 91.17 kB / 0.7854 GB, free: 13.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.343e-05/0.4375, allocations: 5 kB / 0.7854 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.039e-05/0.4376, allocations: 1.094 kB / 0.7854 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.137e-05/0.4376, allocations: 1.125 kB / 0.7854 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.849e-06/0.4376, allocations: 5.062 kB / 0.7854 GB, free: 13.41 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.706e-05/0.4377, allocations: 76.38 kB / 0.7855 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4377, allocations: 0 / 0.7855 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001857/0.4379, allocations: 10.78 kB / 0.7855 GB, free: 13.33 MB / 0.5606 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.0003921/0.4383, allocations: 0.6187 MB / 0.7861 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.302e-05/0.4384, allocations: 26.67 kB / 0.7861 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 5.5e-06/0.4384, allocations: 0 / 0.7861 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.381e-05/0.4384, allocations: 16 kB / 0.7861 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002298/0.4386, allocations: 14.19 kB / 0.7861 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.439, allocations: 152.8 kB / 0.7863 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.4393, allocations: 0.6763 MB / 0.7869 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.945e-05/0.4394, allocations: 1.188 kB / 0.787 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.482e-05/0.4394, allocations: 17.09 kB / 0.787 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of SimCode: time 2.6e-07/0.4394, allocations: 4 kB / 0.787 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02052/0.4599, allocations: 1.335 MB / 0.7883 GB, free: 11.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.885/8.344, allocations: 10.06 kB / 0.7883 GB, free: 11.08 MB / 0.5606 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)