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.005646/0.005646, allocations: 102 kB / 15.73 MB, free: 6.043 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.001367/0.001368, allocations: 195 kB / 16.67 MB, free: 5.965 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.339/1.339, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002309/0.002309, allocations: 278.7 kB / 290.8 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9674/0.9674, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 100.2 kB / 0.6814 GB, free: 6.945 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.407/0.4087, allocations: 86.98 MB / 0.7664 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Psychrometrics.Functions.Examples.pW_X): time 0.001903/0.4107, allocations: 1.257 MB / 0.7676 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0004759/0.4112, allocations: 291.1 kB / 0.7679 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.769e-05/0.4112, allocations: 0 / 0.7679 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.471e-05/0.4112, allocations: 0 / 0.7679 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.4112, allocations: 15.91 kB / 0.7679 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002439/0.4115, allocations: 47.77 kB / 0.768 GB, free: 2.266 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 5.251e-05/0.4116, allocations: 15.92 kB / 0.768 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.291e-05/0.4116, allocations: 4 kB / 0.768 GB, free: 2.246 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.532e-05/0.4116, allocations: 15.92 kB / 0.768 GB, free: 2.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.899e-05/0.4117, allocations: 7.938 kB / 0.768 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.428e-06/0.4117, allocations: 0 / 0.768 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001246/0.4118, allocations: 63.94 kB / 0.7681 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 8.706e-06/0.4118, allocations: 0 / 0.7681 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.029e-05/0.4119, allocations: 11.94 kB / 0.7681 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001155/0.412, allocations: 47.47 kB / 0.7681 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.412, allocations: 0 / 0.7681 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.082e-06/0.412, allocations: 0 / 0.7681 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.412, allocations: 0 / 0.7681 GB, free: 2.105 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.0003249/0.4123, allocations: 338.2 kB / 0.7684 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 2.971e-05/0.4124, allocations: 15.95 kB / 0.7685 GB, free: 1.711 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001968/0.4126, allocations: 16.92 kB / 0.7685 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.037e-05/0.4127, allocations: 168.3 kB / 0.7686 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.877e-06/0.4127, allocations: 4.375 kB / 0.7686 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.827e-06/0.4127, allocations: 384 / 0.7686 GB, free: 1.488 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.271e-05/0.4128, allocations: 42.25 kB / 0.7687 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.75e-06/0.4128, allocations: 192 / 0.7687 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.4128, allocations: 7.938 kB / 0.7687 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.4128, allocations: 0 / 0.7687 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.4129, allocations: 23.92 kB / 0.7687 GB, free: 1.41 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00014/0.413, allocations: 157.7 kB / 0.7689 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001818/0.4149, allocations: 266.4 kB / 0.7691 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.964e-05/0.4149, allocations: 24.84 kB / 0.7691 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 6.712e-06/0.4149, allocations: 4 kB / 0.7691 GB, free: 0.9062 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.849e-05/0.4149, allocations: 34.56 kB / 0.7692 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.415, allocations: 0 / 0.7692 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4): time 0.0001469/0.4151, allocations: 69.56 kB / 0.7692 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.631e-05/0.4151, allocations: 51.41 kB / 0.7693 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.779e-05/0.4152, allocations: 89.86 kB / 0.7694 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.309e-05/0.4152, allocations: 25.7 kB / 0.7694 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 2.717e-05/0.4152, allocations: 84.27 kB / 0.7695 GB, free: 0.5117 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.598e-05/0.4153, allocations: 19.75 kB / 0.7695 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.029e-05/0.4153, allocations: 17.7 kB / 0.7695 GB, free: 480 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 8.904e-05/0.4154, allocations: 314.8 kB / 0.7698 GB, free: 156 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.821e-05/0.4154, allocations: 4 kB / 0.7698 GB, free: 152 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.632e-05/0.4155, allocations: 8 kB / 0.7698 GB, free: 144 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.361e-05/0.4155, allocations: 32.78 kB / 0.7699 GB, free: 108 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.4155, allocations: 0 / 0.7699 GB, free: 108 kB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.107e-05/0.4156, allocations: 53.69 kB / 0.7699 GB, free: 48 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.035e-05/0.4156, allocations: 8 kB / 0.7699 GB, free: 40 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4156, allocations: 3.938 kB / 0.7699 GB, free: 36 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.035e-05/0.4156, allocations: 4 kB / 0.7699 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.4157, allocations: 4 kB / 0.7699 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.4157, allocations: 0 / 0.7699 GB, free: 28 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.907e-05/0.4157, allocations: 3.938 kB / 0.7699 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.167e-06/0.4157, allocations: 0 / 0.7699 GB, free: 24 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 6.971e-05/0.4158, allocations: 116.2 kB / 0.77 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.906e-06/0.4158, allocations: 0 / 0.77 GB, free: 15.9 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.987e-05/0.4159, allocations: 19.42 kB / 0.7701 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.915e-06/0.4159, allocations: 4 kB / 0.7701 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.4159, allocations: 0 / 0.7701 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.4159, allocations: 3.938 kB / 0.7701 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.687e-05/0.416, allocations: 157.7 kB / 0.7702 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.416, allocations: 3.938 kB / 0.7702 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.495e-05/0.4161, allocations: 4 kB / 0.7702 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.4161, allocations: 4 kB / 0.7702 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.4161, allocations: 3.938 kB / 0.7702 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4161, allocations: 0 / 0.7702 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.4161, allocations: 4 kB / 0.7702 GB, free: 15.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.617e-05/0.4162, allocations: 81.36 kB / 0.7703 GB, free: 15.55 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.168e-05/0.4162, allocations: 85.09 kB / 0.7704 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.4163, allocations: 3.984 kB / 0.7704 GB, free: 15.45 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.225e-05/0.4163, allocations: 7.984 kB / 0.7704 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.434e-05/0.4163, allocations: 0 / 0.7704 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.312e-06/0.4164, allocations: 4 kB / 0.7704 GB, free: 15.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.263e-05/0.4164, allocations: 79.28 kB / 0.7705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4164, allocations: 0 / 0.7705 GB, free: 15.36 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001827/0.4166, allocations: 12 kB / 0.7705 GB, free: 15.35 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 9.294e-05/0.4167, allocations: 103.2 kB / 0.7706 GB, free: 15.23 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 8.291e-05/0.4168, allocations: 24 kB / 0.7706 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.4168, allocations: 0 / 0.7706 GB, free: 15.21 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 2.076e-05/0.4168, allocations: 11.98 kB / 0.7706 GB, free: 15.2 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.417, allocations: 14.44 kB / 0.7706 GB, free: 15.19 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002665/0.4173, allocations: 130.6 kB / 0.7708 GB, free: 15.03 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002077/0.4175, allocations: 0.6768 MB / 0.7714 GB, free: 14.33 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.819e-05/0.4175, allocations: 4 kB / 0.7714 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.397e-05/0.4176, allocations: 11.44 kB / 0.7714 GB, free: 14.31 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.4176, allocations: 3.938 kB / 0.7714 GB, free: 14.31 MB / 0.545 GB Notification: Performance of Templates: time 0.002135/0.4197, allocations: 0.5198 MB / 0.772 GB, free: 13.8 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)