Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X,fileNamePrefix="IDEAS_IDEAS_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.0007697/0.0007698, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008798/0.0008798, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7416/0.7416, allocations: 132.3 MB / 423.4 MB, free: 2.102 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003342/0.0003343, allocations: 8.781 kB / 0.5035 GB, free: 4.16 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4514, allocations: 81.57 MB / 0.5831 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001199/0.4527, allocations: 0.9797 MB / 0.5841 GB, free: 3.281 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005392/0.4532, allocations: 285.6 kB / 0.5844 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.4533, allocations: 0 / 0.5844 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.322e-05/0.4533, allocations: 1.094 kB / 0.5844 GB, free: 3.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.914e-05/0.4534, allocations: 5.25 kB / 0.5844 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000245/0.4536, allocations: 42.88 kB / 0.5844 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.51e-05/0.4537, allocations: 18.31 kB / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.575e-05/0.4537, allocations: 1.969 kB / 0.5844 GB, free: 3.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.489e-05/0.4538, allocations: 8.438 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.181e-05/0.4538, allocations: 5.047 kB / 0.5845 GB, free: 3.051 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.098e-05/0.4538, allocations: 7.938 kB / 0.5845 GB, free: 3.043 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.454, allocations: 57.23 kB / 0.5845 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.041e-05/0.454, allocations: 5.297 kB / 0.5845 GB, free: 3.023 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.965e-05/0.454, allocations: 28.59 kB / 0.5846 GB, free: 2.992 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 9.968e-05/0.4541, allocations: 35.91 kB / 0.5846 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.4541, allocations: 1.094 kB / 0.5846 GB, free: 2.984 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.4541, allocations: 0 / 0.5846 GB, free: 2.984 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.807e-06/0.4541, allocations: 0 / 0.5846 GB, free: 2.984 MB / 430.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.000299/0.4545, allocations: 329.6 kB / 0.5849 GB, free: 2.629 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.275e-05/0.4545, allocations: 13.16 kB / 0.5849 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.887e-05/0.4545, allocations: 40.48 kB / 0.585 GB, free: 2.578 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.4548, allocations: 23.84 kB / 0.585 GB, free: 2.57 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.503e-05/0.4548, allocations: 161.3 kB / 0.5851 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.049e-05/0.4548, allocations: 1 kB / 0.5851 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.113e-05/0.4549, allocations: 2.281 kB / 0.5851 GB, free: 2.375 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001134/0.455, allocations: 40.53 kB / 0.5852 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.455, allocations: 0 / 0.5852 GB, free: 2.34 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.377e-06/0.455, allocations: 5 kB / 0.5852 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.455, allocations: 0.9688 kB / 0.5852 GB, free: 2.336 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.99e-05/0.4551, allocations: 19.48 kB / 0.5852 GB, free: 2.328 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001228/0.4552, allocations: 158.1 kB / 0.5853 GB, free: 2.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.4569, allocations: 272.8 kB / 0.5856 GB, free: 2.09 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.269e-05/0.457, allocations: 22.39 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.061e-05/0.457, allocations: 1.281 kB / 0.5856 GB, free: 2.074 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.573e-05/0.457, allocations: 32.03 kB / 0.5857 GB, free: 2.035 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.457, allocations: 0 / 0.5857 GB, free: 2.035 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0001555/0.4572, allocations: 68.86 kB / 0.5857 GB, free: 1.984 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.28e-05/0.4572, allocations: 52.53 kB / 0.5858 GB, free: 1.922 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.81e-05/0.4573, allocations: 95.89 kB / 0.5859 GB, free: 1.82 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 8.596e-06/0.4573, allocations: 26.52 kB / 0.5859 GB, free: 1.789 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.253e-05/0.4573, allocations: 80.94 kB / 0.586 GB, free: 1.707 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.453e-05/0.4573, allocations: 18.8 kB / 0.586 GB, free: 1.691 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.406e-06/0.4573, allocations: 0 / 0.586 GB, free: 1.691 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.136e-05/0.4574, allocations: 312.7 kB / 0.5863 GB, free: 1.379 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.4574, allocations: 17.92 kB / 0.5863 GB, free: 1.367 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.736e-05/0.4574, allocations: 6.172 kB / 0.5863 GB, free: 1.367 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.531e-05/0.4574, allocations: 9.547 kB / 0.5863 GB, free: 1.363 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4575, allocations: 0 / 0.5863 GB, free: 1.363 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.011e-05/0.4575, allocations: 52.14 kB / 0.5864 GB, free: 1.324 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.361e-05/0.4575, allocations: 5.719 kB / 0.5864 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.4576, allocations: 3.938 kB / 0.5864 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.4576, allocations: 1.125 kB / 0.5864 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.341e-05/0.4576, allocations: 11 kB / 0.5864 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.87e-06/0.4576, allocations: 0 / 0.5864 GB, free: 1.316 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.823e-05/0.4577, allocations: 9.734 kB / 0.5864 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.4577, allocations: 5.234 kB / 0.5864 GB, free: 1.305 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.557e-05/0.4577, allocations: 107.9 kB / 0.5865 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.225e-06/0.4578, allocations: 1.375 kB / 0.5865 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.839e-05/0.4578, allocations: 12.23 kB / 0.5865 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4578, allocations: 1.375 kB / 0.5865 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.4578, allocations: 0.75 kB / 0.5865 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.4578, allocations: 1.375 kB / 0.5865 GB, free: 1.176 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.835e-05/0.4579, allocations: 165.4 kB / 0.5867 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.4579, allocations: 4.703 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.474e-05/0.4579, allocations: 5.766 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.4579, allocations: 0.7812 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.194e-06/0.458, allocations: 0.5625 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.458, allocations: 0.875 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.458, allocations: 1.703 kB / 0.5867 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.537e-05/0.4581, allocations: 84.58 kB / 0.5868 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.711e-05/0.4581, allocations: 80.91 kB / 0.5869 GB, free: 0.793 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.4581, allocations: 9.484 kB / 0.5869 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.099e-05/0.4582, allocations: 1.531 kB / 0.5869 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.882e-05/0.4582, allocations: 2.453 kB / 0.5869 GB, free: 0.7852 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.242e-06/0.4582, allocations: 4.75 kB / 0.5869 GB, free: 0.7812 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.734e-05/0.4583, allocations: 77.31 kB / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4583, allocations: 0 / 0.5869 GB, free: 0.707 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001861/0.4585, allocations: 6.062 kB / 0.5869 GB, free: 0.707 MB / 430.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 (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002536/0.4587, allocations: 0.6222 MB / 0.5876 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 9.178e-05/0.4588, allocations: 25.58 kB / 0.5876 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4588, allocations: 0 / 0.5876 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.387e-05/0.4589, allocations: 9.812 kB / 0.5876 GB, free: 88 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00023/0.4591, allocations: 14.56 kB / 0.5876 GB, free: 84 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004077/0.4595, allocations: 174.7 kB / 0.5878 GB, free: 15.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003506/0.4599, allocations: 0.6781 MB / 0.5884 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.507e-05/0.4599, allocations: 5.891 kB / 0.5884 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.157e-05/0.46, allocations: 8.562 kB / 0.5884 GB, free: 15.2 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.46, allocations: 4.906 kB / 0.5885 GB, free: 15.2 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01109/0.4711, allocations: 1.074 MB / 0.5895 GB, free: 15.08 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/0.4713, allocations: 185 kB / 0.5897 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.647/2.119, allocations: 0 / 0.5897 GB, free: 14.84 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Psychrometrics_Functions_Examples_pW_X.fmu > IDEAS_IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1) Environment - environmentSimulation: