Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001149/0.001149, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.009451/0.009451, allocations: 170.7 kB / 16.26 MB, free: 6.676 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.486/1.486, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.086/3.086, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.000401/0.0004011, allocations: 10.81 kB / 0.9158 GB, free: 33.23 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3964, allocations: 162.2 MB / 1.074 GB, free: 7.566 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001475/0.3979, allocations: 0.9938 MB / 1.075 GB, free: 6.562 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006576/0.3986, allocations: 305.3 kB / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.7e-05/0.3986, allocations: 0 / 1.075 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.595e-05/0.3986, allocations: 3.938 kB / 1.075 GB, free: 6.262 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.579e-05/0.3987, allocations: 7.922 kB / 1.075 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.399, allocations: 35.83 kB / 1.075 GB, free: 6.219 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.438e-05/0.399, allocations: 19.94 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.852e-05/0.3991, allocations: 3.984 kB / 1.075 GB, free: 6.195 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.061e-05/0.3991, allocations: 4 kB / 1.075 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.842e-05/0.3992, allocations: 11.92 kB / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.243e-05/0.3992, allocations: 0 / 1.075 GB, free: 6.18 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001308/0.3994, allocations: 59.95 kB / 1.076 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.571e-05/0.3994, allocations: 4 kB / 1.076 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.3994, allocations: 29.7 kB / 1.076 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.3996, allocations: 52.09 kB / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.3996, allocations: 0 / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.685e-06/0.3996, allocations: 0 / 1.076 GB, free: 6.031 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.288e-06/0.3996, allocations: 4 kB / 1.076 GB, free: 6.027 MB / 0.8262 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.0004528/0.4, allocations: 327.6 kB / 1.076 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/0.4001, allocations: 12.03 kB / 1.076 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002329/0.4003, allocations: 12.92 kB / 1.076 GB, free: 5.633 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.4005, allocations: 172.3 kB / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.4005, allocations: 384 / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.4005, allocations: 384 / 1.076 GB, free: 5.426 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/0.4007, allocations: 50.23 kB / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.584e-06/0.4007, allocations: 192 / 1.076 GB, free: 5.371 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.711e-05/0.4007, allocations: 7.938 kB / 1.076 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.737e-06/0.4007, allocations: 3.984 kB / 1.076 GB, free: 5.359 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.602e-05/0.4008, allocations: 16 kB / 1.076 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001787/0.4009, allocations: 157.6 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001856/0.4028, allocations: 274.4 kB / 1.077 GB, free: 4.863 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.868e-05/0.4029, allocations: 24.84 kB / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.34e-05/0.4029, allocations: 0 / 1.077 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.057e-05/0.4029, allocations: 34.5 kB / 1.077 GB, free: 4.793 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.4029, allocations: 4 kB / 1.077 GB, free: 4.789 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.000186/0.4031, allocations: 65.62 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.723e-05/0.4032, allocations: 55.34 kB / 1.077 GB, free: 4.652 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.601e-05/0.4033, allocations: 93.8 kB / 1.077 GB, free: 4.551 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.4033, allocations: 29.7 kB / 1.077 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.536e-05/0.4034, allocations: 80.14 kB / 1.077 GB, free: 4.434 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.797e-05/0.4034, allocations: 11.89 kB / 1.077 GB, free: 4.422 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.227e-05/0.4034, allocations: 9.719 kB / 1.077 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.4035, allocations: 319 kB / 1.077 GB, free: 4.086 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.978e-05/0.4036, allocations: 8 kB / 1.077 GB, free: 4.078 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.937e-05/0.4036, allocations: 11.98 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.061e-05/0.4036, allocations: 24.86 kB / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.4037, allocations: 0 / 1.077 GB, free: 4.039 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.362e-05/0.4037, allocations: 57.59 kB / 1.077 GB, free: 3.977 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.4038, allocations: 4 kB / 1.077 GB, free: 3.973 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.4038, allocations: 7.875 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.4038, allocations: 0 / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.608e-05/0.4039, allocations: 12 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.4039, allocations: 0 / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.847e-05/0.4039, allocations: 0 / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.2e-06/0.4039, allocations: 0 / 1.077 GB, free: 3.953 MB / 0.8262 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 7.702e-05/0.404, allocations: 113.8 kB / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.404, allocations: 0 / 1.078 GB, free: 3.832 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.934e-05/0.4041, allocations: 15.42 kB / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.334e-06/0.4041, allocations: 0 / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.4041, allocations: 0 / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.4041, allocations: 0 / 1.078 GB, free: 3.812 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000112/0.4042, allocations: 165.7 kB / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4042, allocations: 0 / 1.078 GB, free: 3.602 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.179e-05/0.4043, allocations: 4 kB / 1.078 GB, free: 3.598 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.4043, allocations: 4 kB / 1.078 GB, free: 3.594 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.827e-06/0.4043, allocations: 4.266 kB / 1.078 GB, free: 3.59 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.4043, allocations: 4 kB / 1.078 GB, free: 3.586 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4043, allocations: 3.938 kB / 1.078 GB, free: 3.582 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.4044, allocations: 85.05 kB / 1.078 GB, free: 3.48 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.083e-05/0.4045, allocations: 92.94 kB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.4045, allocations: 3.938 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.441e-05/0.4046, allocations: 4 kB / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.481e-05/0.4046, allocations: 0 / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.657e-06/0.4046, allocations: 0 / 1.078 GB, free: 3.363 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.41e-05/0.4046, allocations: 79.28 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4046, allocations: 0 / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001789/0.4048, allocations: 8 kB / 1.078 GB, free: 3.277 MB / 0.8262 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.0001162/0.405, allocations: 103.3 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.522e-05/0.4051, allocations: 27.88 kB / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.4051, allocations: 0 / 1.078 GB, free: 3.137 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.4051, allocations: 15.98 kB / 1.078 GB, free: 3.121 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002462/0.4053, allocations: 8 kB / 1.078 GB, free: 3.113 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003515/0.4057, allocations: 136.6 kB / 1.078 GB, free: 2.949 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/0.406, allocations: 0.677 MB / 1.079 GB, free: 2.246 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.57e-05/0.4061, allocations: 7.859 kB / 1.079 GB, free: 2.238 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.946e-05/0.4061, allocations: 11.44 kB / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of SimCode: time 2.8e-07/0.4061, allocations: 0 / 1.079 GB, free: 2.227 MB / 0.8262 GB Notification: Performance of Templates: time 0.003086/0.4092, allocations: 0.491 MB / 1.079 GB, free: 1.742 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)