Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.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.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") translateModel(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck,tolerance=1e-09,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001932/0.001932, allocations: 194.8 kB / 16.25 MB, free: 6.633 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.402/1.402, allocations: 205.1 MB / 222.1 MB, free: 4.703 MB / 174.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.641/1.641, allocations: 292.2 MB / 0.5485 GB, free: 13.67 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.001378/0.001378, allocations: 74.31 kB / 0.671 GB, free: 26.32 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2308/0.2322, allocations: 114.6 MB / 0.7829 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck): time 0.002336/0.2346, allocations: 1.316 MB / 0.7842 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004299/0.2351, allocations: 235.3 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.496e-05/0.2351, allocations: 4 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.625e-05/0.2351, allocations: 3.938 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.647e-05/0.2352, allocations: 3.984 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002445/0.2354, allocations: 31.84 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.62e-05/0.2355, allocations: 15.98 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.837e-05/0.2355, allocations: 4 kB / 0.7844 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.2355, allocations: 15.98 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.469e-05/0.2356, allocations: 7.922 kB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.2356, allocations: 4 kB / 0.7845 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.046e-05/0.2357, allocations: 47.95 kB / 0.7845 GB, free: 12.21 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.108e-05/0.2357, allocations: 4 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.038e-05/0.2358, allocations: 7.984 kB / 0.7845 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 9.899e-05/0.2359, allocations: 36.17 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.2359, allocations: 3.938 kB / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2359, allocations: 0 / 0.7846 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.2359, allocations: 7.938 kB / 0.7846 GB, free: 12.15 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003332/0.2362, allocations: 343.5 kB / 0.7849 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.2363, allocations: 8.031 kB / 0.7849 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000132/0.2364, allocations: 12.92 kB / 0.7849 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.453e-05/0.2365, allocations: 160.4 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.2365, allocations: 384 / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.035e-05/0.2365, allocations: 4.375 kB / 0.7851 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.2366, allocations: 50.23 kB / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.732e-06/0.2367, allocations: 192 / 0.7851 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.2367, allocations: 7.938 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.2367, allocations: 0 / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.18e-05/0.2367, allocations: 15.94 kB / 0.7851 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001414/0.2369, allocations: 165.6 kB / 0.7853 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.766e-05/0.237, allocations: 38.62 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.102e-05/0.237, allocations: 24.98 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.856e-06/0.237, allocations: 4 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.2371, allocations: 30.56 kB / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2371, allocations: 0 / 0.7854 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8): time 0.002112/0.2392, allocations: 0.4941 MB / 0.7859 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.778e-05/0.2392, allocations: 59.28 kB / 0.7859 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.537e-05/0.2393, allocations: 89.86 kB / 0.786 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.2393, allocations: 29.7 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.456e-05/0.2393, allocations: 80.14 kB / 0.7861 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.732e-05/0.2393, allocations: 31.53 kB / 0.7862 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.507e-05/0.2394, allocations: 21.72 kB / 0.7862 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.113e-05/0.2395, allocations: 322.8 kB / 0.7865 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.294e-05/0.2395, allocations: 20 kB / 0.7865 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.877e-05/0.2396, allocations: 23.98 kB / 0.7865 GB, free: 9.879 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.6e-05/0.2397, allocations: 60.98 kB / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.2397, allocations: 0 / 0.7866 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0001367/0.2398, allocations: 89.62 kB / 0.7867 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.499e-05/0.2399, allocations: 11.94 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.2399, allocations: 0 / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/0.2399, allocations: 0 / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001477/0.24, allocations: 23.92 kB / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.409e-06/0.24, allocations: 0 / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.784e-05/0.2401, allocations: 0 / 0.7867 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.2401, allocations: 4 kB / 0.7867 GB, free: 9.684 MB / 0.6075 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 (9): * Single equations (assignments): 9 * 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.682e-05/0.2402, allocations: 110.5 kB / 0.7868 GB, free: 9.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.581e-05/0.2402, allocations: 7.938 kB / 0.7868 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.048e-05/0.2403, allocations: 19.95 kB / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.2403, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2403, allocations: 0 / 0.7868 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.2403, allocations: 7.984 kB / 0.7868 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001244/0.2404, allocations: 171.5 kB / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.001e-06/0.2404, allocations: 0 / 0.787 GB, free: 9.305 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001388/0.2406, allocations: 12 kB / 0.787 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.2406, allocations: 3.938 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.163e-05/0.2406, allocations: 4 kB / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.724e-06/0.2406, allocations: 448 / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.2406, allocations: 0 / 0.787 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002281/0.2409, allocations: 156.9 kB / 0.7872 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.442e-05/0.2409, allocations: 85.03 kB / 0.7873 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.609e-05/0.2409, allocations: 7.938 kB / 0.7873 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001185/0.241, allocations: 4.031 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/0.2411, allocations: 4 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.017e-05/0.2411, allocations: 7.984 kB / 0.7873 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.293e-05/0.2411, allocations: 76.34 kB / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2411, allocations: 0 / 0.7874 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000206/0.2413, allocations: 12 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y_comp) * 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 (8): * Single equations (assignments): 8 * 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.0001142/0.2415, allocations: 107.3 kB / 0.7875 GB, free: 8.789 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001532/0.2416, allocations: 63.95 kB / 0.7875 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2416, allocations: 0 / 0.7875 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 5.116e-05/0.2417, allocations: 36.08 kB / 0.7876 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000221/0.2419, allocations: 7.203 kB / 0.7876 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005122/0.2424, allocations: 194.4 kB / 0.7878 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.2426, allocations: 0.6768 MB / 0.7884 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.855e-05/0.2427, allocations: 15.92 kB / 0.7884 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.873e-05/0.2428, allocations: 11.44 kB / 0.7884 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2428, allocations: 0 / 0.7884 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of Templates: time 0.002472/0.2453, allocations: 0.6834 MB / 0.7891 GB, free: 7.098 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.makefile (rm -f Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; mkfifo Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe >> ../files/Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.sim & ./Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Psychrometrics.Functions.BaseClasses.Examples.WaterVaporPressureDerivativeCheck.pipe 2>&1)