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.001396/0.001397, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001527/0.001527, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.215/2.215, allocations: 223.2 MB / 239.9 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.396/1.396, allocations: 132.3 MB / 423.2 MB, free: 2.145 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006575/0.0006578, allocations: 9.094 kB / 0.5033 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8926/0.8933, allocations: 81.58 MB / 0.583 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002359/0.8958, allocations: 0.9693 MB / 0.5839 GB, free: 3.285 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008556/0.8967, allocations: 267 kB / 0.5842 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.484e-05/0.8967, allocations: 0 / 0.5842 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.8968, allocations: 1.969 kB / 0.5842 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.63e-05/0.8969, allocations: 2.016 kB / 0.5842 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003943/0.8973, allocations: 48.56 kB / 0.5842 GB, free: 3.086 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.8973, allocations: 14.62 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.8974, allocations: 2.562 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.146e-05/0.8975, allocations: 4.359 kB / 0.5842 GB, free: 3.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.245e-05/0.8976, allocations: 12.56 kB / 0.5843 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.8976, allocations: 1.594 kB / 0.5843 GB, free: 3.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002091/0.8978, allocations: 61.17 kB / 0.5843 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.392e-05/0.8979, allocations: 1.562 kB / 0.5843 GB, free: 3.059 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.785e-05/0.8979, allocations: 28.23 kB / 0.5843 GB, free: 3.027 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001609/0.8981, allocations: 36.39 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.8981, allocations: 0 / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of FrontEnd: time 4.238e-06/0.8981, allocations: 1.281 kB / 0.5844 GB, free: 3.02 MB / 430.1 MB Notification: Performance of Transformations before backend: time 7.514e-06/0.8981, allocations: 4.719 kB / 0.5844 GB, free: 3.016 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.0004933/0.8986, allocations: 334.2 kB / 0.5847 GB, free: 2.656 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.301e-05/0.8987, allocations: 9.734 kB / 0.5847 GB, free: 2.656 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.603e-05/0.8987, allocations: 36.12 kB / 0.5847 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003104/0.8991, allocations: 28.55 kB / 0.5848 GB, free: 2.602 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/0.8992, allocations: 166 kB / 0.5849 GB, free: 2.402 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.8992, allocations: 3.938 kB / 0.5849 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.415e-05/0.8992, allocations: 1.656 kB / 0.5849 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001458/0.8994, allocations: 40.48 kB / 0.585 GB, free: 2.363 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.8994, allocations: 4.562 kB / 0.585 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.8994, allocations: 0.9688 kB / 0.585 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.681e-06/0.8994, allocations: 0 / 0.585 GB, free: 2.359 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.669e-05/0.8995, allocations: 16.22 kB / 0.585 GB, free: 2.355 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001844/0.8997, allocations: 164.8 kB / 0.5851 GB, free: 2.152 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001994/0.9017, allocations: 273 kB / 0.5854 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.322e-05/0.9017, allocations: 5.109 kB / 0.5854 GB, free: 2.105 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.9017, allocations: 32.25 kB / 0.5854 GB, free: 2.066 MB / 430.1 MB Notification: Performance of pre-optimization done (n=4): time 1.163e-06/0.9018, allocations: 0 / 0.5854 GB, free: 2.066 MB / 430.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002464/0.902, allocations: 62.12 kB / 0.5855 GB, free: 2.023 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.152e-05/0.9021, allocations: 56.2 kB / 0.5856 GB, free: 1.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.187e-05/0.9021, allocations: 91.94 kB / 0.5856 GB, free: 1.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.983e-05/0.9022, allocations: 30.36 kB / 0.5857 GB, free: 1.824 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.214e-05/0.9022, allocations: 84.08 kB / 0.5858 GB, free: 1.738 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.582e-05/0.9023, allocations: 14.98 kB / 0.5858 GB, free: 1.727 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.218e-06/0.9023, allocations: 0 / 0.5858 GB, free: 1.727 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.877e-05/0.9024, allocations: 321 kB / 0.5861 GB, free: 1.406 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.806e-05/0.9024, allocations: 5.734 kB / 0.5861 GB, free: 1.406 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.708e-05/0.9024, allocations: 13.66 kB / 0.5861 GB, free: 1.398 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.556e-05/0.9025, allocations: 9.188 kB / 0.5861 GB, free: 1.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.178e-06/0.9025, allocations: 1.219 kB / 0.5861 GB, free: 1.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001004/0.9026, allocations: 51.62 kB / 0.5862 GB, free: 1.355 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.689e-05/0.9026, allocations: 5.797 kB / 0.5862 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.9026, allocations: 0 / 0.5862 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.9027, allocations: 0.9375 kB / 0.5862 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.888e-05/0.9027, allocations: 6.859 kB / 0.5862 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.9028, allocations: 0 / 0.5862 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.457e-05/0.9028, allocations: 1.875 kB / 0.5862 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.614e-06/0.9028, allocations: 8.844 kB / 0.5862 GB, free: 1.348 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 8.945e-05/0.9029, allocations: 116 kB / 0.5863 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.035e-05/0.9029, allocations: 5.625 kB / 0.5863 GB, free: 1.223 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.847e-05/0.903, allocations: 9.031 kB / 0.5863 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.903, allocations: 0.6875 kB / 0.5863 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.903, allocations: 4.734 kB / 0.5863 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.608e-06/0.903, allocations: 1.031 kB / 0.5863 GB, free: 1.207 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.9031, allocations: 161.2 kB / 0.5865 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.9032, allocations: 1.312 kB / 0.5865 GB, free: 1.008 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.896e-05/0.9032, allocations: 10.41 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.9032, allocations: 0.75 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.718e-06/0.9032, allocations: 0 / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.9032, allocations: 1.625 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-06/0.9033, allocations: 0.6094 kB / 0.5865 GB, free: 1.004 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001361/0.9034, allocations: 85.12 kB / 0.5866 GB, free: 0.9219 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.057e-05/0.9035, allocations: 80.78 kB / 0.5866 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.676e-05/0.9035, allocations: 0.6562 kB / 0.5866 GB, free: 0.8281 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.472e-05/0.9036, allocations: 10.36 kB / 0.5866 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.152e-05/0.9036, allocations: 2.328 kB / 0.5866 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.116e-06/0.9036, allocations: 1.156 kB / 0.5866 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.866e-05/0.9037, allocations: 76.75 kB / 0.5867 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.9037, allocations: 0 / 0.5867 GB, free: 0.7461 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002385/0.9039, allocations: 5.938 kB / 0.5867 GB, free: 0.7461 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.000428/0.9044, allocations: 0.6157 MB / 0.5873 GB, free: 144 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001423/0.9045, allocations: 29.22 kB / 0.5874 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.9045, allocations: 0 / 0.5874 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 3.662e-05/0.9046, allocations: 13.62 kB / 0.5874 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002877/0.9049, allocations: 9.719 kB / 0.5874 GB, free: 128 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005994/0.9055, allocations: 178 kB / 0.5875 GB, free: 15.95 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004252/0.9059, allocations: 0.6786 MB / 0.5882 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 5.804e-05/0.906, allocations: 9.516 kB / 0.5882 GB, free: 15.25 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.146e-05/0.906, allocations: 10.03 kB / 0.5882 GB, free: 15.24 MB / 446.1 MB Notification: Performance of SimCode: time 5.81e-07/0.906, allocations: 0 / 0.5882 GB, free: 15.24 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01523/0.9213, allocations: 1.057 MB / 0.5893 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/0.9216, allocations: 179.5 kB / 0.5894 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.835/3.756, allocations: 0 / 0.5894 GB, free: 14.88 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: