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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") translateModel(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8223/0.8223, allocations: 141.8 MB / 149.3 MB, free: 9.246 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009528/0.0009528, allocations: 180.5 kB / 182.2 MB, free: 9.473 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.367/1.367, allocations: 221.5 MB / 436.4 MB, free: 13.27 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008939/0.0008939, allocations: 88.16 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001816/0.001816, allocations: 278.9 kB / 0.5889 GB, free: 54.63 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.539e-05/1.542e-05, allocations: 4 kB / 0.6765 GB, free: 12.79 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3553/0.3554, allocations: 82.78 MB / 0.7574 GB, free: 31.99 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1256/0.481, allocations: 108.2 MB / 0.8631 GB, free: 3.621 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4813, allocations: 80.67 kB / 0.8631 GB, free: 3.547 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00442/0.4857, allocations: 1.498 MB / 0.8646 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.242e-06/0.4858, allocations: 0 / 0.8646 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.4858, allocations: 4 kB / 0.8646 GB, free: 2.047 MB / 0.5261 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.000268/0.4861, allocations: 330.5 kB / 0.8649 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.4861, allocations: 8.031 kB / 0.8649 GB, free: 1.672 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.4863, allocations: 19.92 kB / 0.865 GB, free: 1.652 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001066/0.4864, allocations: 159.1 kB / 0.8651 GB, free: 1.457 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.4865, allocations: 3.953 kB / 0.8651 GB, free: 1.453 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.684e-06/0.4865, allocations: 4 kB / 0.8651 GB, free: 1.449 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.233e-05/0.4866, allocations: 19.92 kB / 0.8651 GB, free: 1.43 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.036e-05/0.4866, allocations: 45.67 kB / 0.8652 GB, free: 1.379 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.4867, allocations: 3.938 kB / 0.8652 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.4867, allocations: 0 / 0.8652 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.028e-06/0.4867, allocations: 0 / 0.8652 GB, free: 1.375 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001405/0.4868, allocations: 130.2 kB / 0.8653 GB, free: 1.211 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001896/0.4887, allocations: 270.5 kB / 0.8656 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.157e-05/0.4888, allocations: 16.86 kB / 0.8656 GB, free: 0.918 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.221e-05/0.4888, allocations: 7.953 kB / 0.8656 GB, free: 0.9102 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.002e-05/0.4888, allocations: 34.56 kB / 0.8656 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=4): time 1.764e-06/0.4889, allocations: 0 / 0.8656 GB, free: 0.8672 MB / 0.5261 GB Notification: Performance of matching and sorting (n=4): time 0.0001282/0.489, allocations: 61.62 kB / 0.8657 GB, free: 0.8008 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.489, allocations: 51.41 kB / 0.8657 GB, free: 0.7383 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.811e-05/0.4891, allocations: 89 kB / 0.8658 GB, free: 0.6445 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.315e-05/0.4891, allocations: 25.7 kB / 0.8658 GB, free: 0.6133 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 2.375e-05/0.4891, allocations: 80.14 kB / 0.8659 GB, free: 0.5312 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.68e-05/0.4892, allocations: 11.83 kB / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.466e-06/0.4892, allocations: 0 / 0.8659 GB, free: 0.5195 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4893, allocations: 319 kB / 0.8662 GB, free: 204 kB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.053e-05/0.4894, allocations: 8 kB / 0.8662 GB, free: 196 kB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.522e-05/0.4894, allocations: 8 kB / 0.8662 GB, free: 188 kB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.4894, allocations: 8 kB / 0.8663 GB, free: 180 kB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.4894, allocations: 0 / 0.8663 GB, free: 180 kB / 0.5261 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.875e-05/0.4895, allocations: 49.69 kB / 0.8663 GB, free: 124 kB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.4895, allocations: 5.25 kB / 0.8663 GB, free: 120 kB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.4896, allocations: 3.953 kB / 0.8663 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.4896, allocations: 0 / 0.8663 GB, free: 116 kB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.483e-05/0.4896, allocations: 11.94 kB / 0.8663 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.938e-06/0.4896, allocations: 0 / 0.8663 GB, free: 104 kB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.712e-05/0.4897, allocations: 11.89 kB / 0.8663 GB, free: 92 kB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4897, allocations: 3.938 kB / 0.8663 GB, free: 88 kB / 0.5261 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 () * 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 7.29e-05/0.4898, allocations: 101 kB / 0.8664 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.275e-05/0.4898, allocations: 4 kB / 0.8664 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.834e-05/0.4898, allocations: 8.125 kB / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.4899, allocations: 3.953 kB / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.4899, allocations: 0 / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.4899, allocations: 0 / 0.8664 GB, free: 15.96 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.226e-05/0.49, allocations: 134.2 kB / 0.8666 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.49, allocations: 4 kB / 0.8666 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.49, allocations: 8 kB / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.49, allocations: 0 / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.961e-06/0.4901, allocations: 0 / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.4901, allocations: 3.938 kB / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.4901, allocations: 0 / 0.8666 GB, free: 15.78 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001061/0.4902, allocations: 85.19 kB / 0.8667 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.928e-05/0.4903, allocations: 85.09 kB / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.116e-05/0.4903, allocations: 4 kB / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.947e-05/0.4903, allocations: 0 / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.4903, allocations: 0 / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.294e-06/0.4904, allocations: 4 kB / 0.8668 GB, free: 15.57 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.501e-05/0.4904, allocations: 79.23 kB / 0.8668 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4904, allocations: 0 / 0.8668 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0001941/0.4906, allocations: 4 kB / 0.8668 GB, free: 15.48 MB / 0.5417 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 () * 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.0001001/0.4907, allocations: 103.2 kB / 0.8669 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.476e-05/0.4908, allocations: 24.09 kB / 0.867 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.4908, allocations: 0 / 0.867 GB, free: 15.35 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.26e-05/0.4908, allocations: 15.94 kB / 0.867 GB, free: 15.34 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001703/0.491, allocations: 9.859 kB / 0.867 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002558/0.4913, allocations: 75.78 kB / 0.8671 GB, free: 15.23 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.4916, allocations: 0.6807 MB / 0.8677 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.804e-05/0.4916, allocations: 4 kB / 0.8677 GB, free: 14.52 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.4917, allocations: 7.438 kB / 0.8677 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of SimCode: time 3.61e-07/0.4917, allocations: 0 / 0.8677 GB, free: 14.51 MB / 0.5417 GB Notification: Performance of Templates: time 0.00259/0.4943, allocations: 480.9 kB / 0.8682 GB, free: 14.05 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.makefile (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 & ./BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X.pipe 2>&1)