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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001233/0.001233, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001324/0.001324, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.277/1.277, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002072/0.002072, allocations: 280 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9021/0.9021, allocations: 169.2 MB / 0.499 GB, free: 4.453 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001779/0.001779, allocations: 95.86 kB / 0.6821 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3804/0.3822, allocations: 86.98 MB / 0.767 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.002218/0.3845, allocations: 1.264 MB / 0.7683 GB, free: 2.625 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0005721/0.3851, allocations: 299 kB / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.177e-05/0.3851, allocations: 0 / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.3852, allocations: 0 / 0.7686 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 4.001e-05/0.3852, allocations: 7.922 kB / 0.7686 GB, free: 2.324 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002915/0.3855, allocations: 43.77 kB / 0.7686 GB, free: 2.281 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.615e-05/0.3856, allocations: 27.91 kB / 0.7686 GB, free: 2.254 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.147e-05/0.3856, allocations: 4 kB / 0.7686 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.3857, allocations: 4 kB / 0.7687 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 5.037e-05/0.3857, allocations: 11.92 kB / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.031e-05/0.3857, allocations: 0 / 0.7687 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001297/0.3859, allocations: 55.95 kB / 0.7687 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.265e-05/0.3859, allocations: 8 kB / 0.7687 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.371e-05/0.3859, allocations: 7.938 kB / 0.7687 GB, free: 2.164 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3861, allocations: 43.47 kB / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3861, allocations: 0 / 0.7688 GB, free: 2.125 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3861, allocations: 4 kB / 0.7688 GB, free: 2.121 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3861, allocations: 0 / 0.7688 GB, free: 2.121 MB / 0.5294 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.000361/0.3864, allocations: 338.2 kB / 0.7691 GB, free: 1.742 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.3865, allocations: 8.031 kB / 0.7691 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.3867, allocations: 16.92 kB / 0.7691 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.773e-05/0.3868, allocations: 172.2 kB / 0.7693 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.3868, allocations: 4.375 kB / 0.7693 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.263e-05/0.3868, allocations: 4.375 kB / 0.7693 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001059/0.387, allocations: 46.25 kB / 0.7693 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.387, allocations: 8.109 kB / 0.7693 GB, free: 1.445 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.341e-05/0.387, allocations: 3.938 kB / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.387, allocations: 0 / 0.7694 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.787e-05/0.3871, allocations: 12 kB / 0.7694 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.3872, allocations: 153.7 kB / 0.7695 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001785/0.389, allocations: 274.4 kB / 0.7698 GB, free: 0.9531 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.416e-05/0.3891, allocations: 24.84 kB / 0.7698 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.097e-06/0.3891, allocations: 0 / 0.7698 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.489e-05/0.3891, allocations: 38.56 kB / 0.7698 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3891, allocations: 4 kB / 0.7698 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001588/0.3893, allocations: 57.62 kB / 0.7699 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.3893, allocations: 55.41 kB / 0.7699 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.629e-05/0.3894, allocations: 93.86 kB / 0.77 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/0.3894, allocations: 29.64 kB / 0.7701 GB, free: 0.6094 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.808e-05/0.3894, allocations: 80.14 kB / 0.7701 GB, free: 0.5273 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.006e-05/0.3895, allocations: 19.73 kB / 0.7702 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.3895, allocations: 13.84 kB / 0.7702 GB, free: 500 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.243e-05/0.3896, allocations: 318.8 kB / 0.7705 GB, free: 172 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.977e-05/0.3896, allocations: 8 kB / 0.7705 GB, free: 164 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.534e-05/0.3896, allocations: 7.984 kB / 0.7705 GB, free: 156 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.486e-05/0.3897, allocations: 28.86 kB / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.3897, allocations: 0 / 0.7705 GB, free: 124 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.272e-05/0.3898, allocations: 53.97 kB / 0.7706 GB, free: 64 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.3898, allocations: 4 kB / 0.7706 GB, free: 60 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.3898, allocations: 3.938 kB / 0.7706 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.3898, allocations: 48 / 0.7706 GB, free: 56 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.782e-05/0.3899, allocations: 19.92 kB / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.3899, allocations: 0 / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.83e-05/0.3899, allocations: 0 / 0.7706 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.39, allocations: 0 / 0.7706 GB, free: 36 kB / 0.5294 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 8.32e-05/0.39, allocations: 116.2 kB / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.028e-05/0.3901, allocations: 0 / 0.7707 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.376e-05/0.3901, allocations: 15.42 kB / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/0.3901, allocations: 0 / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3901, allocations: 0 / 0.7707 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.3901, allocations: 8 kB / 0.7707 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.3902, allocations: 157.7 kB / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.3902, allocations: 0 / 0.7709 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.514e-05/0.3903, allocations: 8 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.3903, allocations: 0 / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.305e-06/0.3903, allocations: 3.938 kB / 0.7709 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3903, allocations: 4 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3903, allocations: 3.938 kB / 0.7709 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001065/0.3904, allocations: 84.97 kB / 0.771 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.817e-05/0.3905, allocations: 81.09 kB / 0.7711 GB, free: 15.47 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.475e-05/0.3905, allocations: 7.938 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.421e-05/0.3906, allocations: 4 kB / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.642e-05/0.3906, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.3906, allocations: 0 / 0.7711 GB, free: 15.46 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.096e-05/0.3907, allocations: 79.28 kB / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3907, allocations: 0 / 0.7711 GB, free: 15.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001772/0.3908, allocations: 4 kB / 0.7711 GB, free: 15.38 MB / 0.545 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.0001108/0.391, allocations: 107.3 kB / 0.7712 GB, free: 15.26 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 9.095e-05/0.3911, allocations: 23.94 kB / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3911, allocations: 0 / 0.7713 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.219e-05/0.3911, allocations: 15.98 kB / 0.7713 GB, free: 15.22 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.3913, allocations: 12 kB / 0.7713 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.3917, allocations: 156.4 kB / 0.7714 GB, free: 15.02 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002064/0.3919, allocations: 0.6768 MB / 0.7721 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.3919, allocations: 7.438 kB / 0.7721 GB, free: 14.31 MB / 0.545 GB Notification: Performance of SimCode: time 4.21e-07/0.3919, allocations: 0 / 0.7721 GB, free: 14.31 MB / 0.545 GB Notification: Performance of Templates: time 0.001585/0.3935, allocations: 0.5288 MB / 0.7726 GB, free: 13.78 MB / 0.545 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)