Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_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_8_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.001146/0.001146, allocations: 104.1 kB / 16.36 MB, free: 6.355 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.001179/0.001179, allocations: 194.2 kB / 17.3 MB, free: 5.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.724/1.724, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.3 MB / 0.5496 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00144/0.00144, allocations: 71.89 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2534, allocations: 114.6 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.003032/0.2565, allocations: 1.267 MB / 0.786 GB, free: 1.895 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0006735/0.2572, allocations: 295 kB / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.078e-05/0.2572, allocations: 0 / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.159e-05/0.2573, allocations: 0 / 0.7863 GB, free: 1.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.774e-05/0.2574, allocations: 15.92 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000382/0.2578, allocations: 55.69 kB / 0.7864 GB, free: 1.535 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.602e-05/0.2578, allocations: 11.94 kB / 0.7864 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 5.289e-05/0.2579, allocations: 4 kB / 0.7864 GB, free: 1.52 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 5.003e-05/0.258, allocations: 11.98 kB / 0.7864 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.01e-05/0.258, allocations: 7.922 kB / 0.7864 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.258, allocations: 4 kB / 0.7864 GB, free: 1.496 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001587/0.2582, allocations: 51.95 kB / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.465e-05/0.2582, allocations: 0 / 0.7865 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.2583, allocations: 15.92 kB / 0.7865 GB, free: 1.43 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.2584, allocations: 51.89 kB / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.41e-06/0.2585, allocations: 0 / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2585, allocations: 0 / 0.7865 GB, free: 1.379 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.323e-06/0.2585, allocations: 0 / 0.7865 GB, free: 1.379 MB / 0.6544 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.0004694/0.2589, allocations: 335.5 kB / 0.7868 GB, free: 1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.259, allocations: 12.03 kB / 0.7869 GB, free: 0.9883 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002615/0.2593, allocations: 20.84 kB / 0.7869 GB, free: 0.9688 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001187/0.2594, allocations: 168.4 kB / 0.787 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.2594, allocations: 4.312 kB / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.384e-05/0.2594, allocations: 384 / 0.787 GB, free: 0.7617 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.2596, allocations: 42.25 kB / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.2596, allocations: 192 / 0.7871 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.41e-05/0.2596, allocations: 3.938 kB / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.421e-06/0.2596, allocations: 0 / 0.7871 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.823e-05/0.2597, allocations: 19.98 kB / 0.7871 GB, free: 0.6914 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002064/0.2599, allocations: 161.6 kB / 0.7873 GB, free: 496 kB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0018/0.2617, allocations: 266.3 kB / 0.7875 GB, free: 220 kB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.645e-05/0.2618, allocations: 24.86 kB / 0.7875 GB, free: 192 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.136e-05/0.2618, allocations: 4 kB / 0.7875 GB, free: 188 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/0.2618, allocations: 30.56 kB / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=4): time 1.423e-06/0.2618, allocations: 0 / 0.7876 GB, free: 148 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4): time 0.0001843/0.262, allocations: 65.62 kB / 0.7876 GB, free: 76 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.229e-05/0.2621, allocations: 51.41 kB / 0.7877 GB, free: 12 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.5416/0.8037, allocations: 91.22 kB / 0.7878 GB, free: 48.84 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.293e-05/0.8038, allocations: 26.98 kB / 0.7878 GB, free: 48.8 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 1.411e-05/0.8038, allocations: 82.14 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.131e-05/0.8039, allocations: 11.67 kB / 0.7879 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.434e-05/0.8039, allocations: 15.05 kB / 0.7879 GB, free: 48.71 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.081e-05/0.804, allocations: 319.4 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.346e-05/0.804, allocations: 10.12 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.195e-05/0.804, allocations: 9.109 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.192e-05/0.8041, allocations: 27.19 kB / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.908e-06/0.8041, allocations: 0 / 0.7882 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001089/0.8042, allocations: 57.61 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.8042, allocations: 3.125 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.8042, allocations: 6.344 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.51e-05/0.8043, allocations: 0 / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.026e-05/0.8044, allocations: 8.891 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.8044, allocations: 3.094 kB / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.393e-05/0.8044, allocations: 0 / 0.7883 GB, free: 48.36 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-06/0.8044, allocations: 5.016 kB / 0.7883 GB, free: 48.36 MB / 0.6544 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 5.171e-05/0.8045, allocations: 110.2 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.647e-05/0.8045, allocations: 8.75 kB / 0.7884 GB, free: 48.24 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.936e-05/0.8045, allocations: 6.438 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.8046, allocations: 5.219 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8046, allocations: 3.281 kB / 0.7884 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.8046, allocations: 2.812 kB / 0.7885 GB, free: 48.23 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.698e-05/0.8047, allocations: 159.9 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.8047, allocations: 0.9375 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.033e-05/0.8047, allocations: 5.969 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.8047, allocations: 1.938 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.646e-06/0.8047, allocations: 3.875 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.8047, allocations: 3.938 kB / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.8048, allocations: 0 / 0.7886 GB, free: 48.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.314e-05/0.8048, allocations: 81 kB / 0.7887 GB, free: 47.98 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.586e-05/0.8049, allocations: 82.08 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.8049, allocations: 2.625 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.947e-05/0.805, allocations: 13.69 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.525e-05/0.805, allocations: 5.062 kB / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.805, allocations: 0 / 0.7888 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 1.692e-05/0.805, allocations: 77.69 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/0.805, allocations: 2.656 kB / 0.7889 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002254/0.8053, allocations: 5.156 kB / 0.7889 GB, free: 47.8 MB / 0.6544 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 9.608e-05/0.8054, allocations: 101.2 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 9.488e-05/0.8055, allocations: 28.52 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.8055, allocations: 0 / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-05/0.8055, allocations: 12.25 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002726/0.8058, allocations: 16.48 kB / 0.789 GB, free: 47.72 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003001/0.8061, allocations: 149.1 kB / 0.7892 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.8062, allocations: 0.6781 MB / 0.7898 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.6e-05/0.8062, allocations: 7.438 kB / 0.7898 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.41e-07/0.8062, allocations: 3.438 kB / 0.7898 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.001755/0.808, allocations: 0.5262 MB / 0.7904 GB, free: 46.89 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)