Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") translateModel(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.004/2.004, allocations: 292.3 MB / 308.1 MB, free: 4.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001789/0.00179, allocations: 186.4 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.138/2.138, allocations: 205.1 MB / 0.6354 GB, free: 9.781 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001289/0.001289, allocations: 97.56 kB / 0.748 GB, free: 61.12 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001618/0.001619, allocations: 55.91 kB / 0.8703 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3866/0.3883, allocations: 114.5 MB / 0.9822 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset): time 0.005052/0.3934, allocations: 1.888 MB / 0.984 GB, free: 8.504 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0005208/0.394, allocations: 119.6 kB / 0.9842 GB, free: 8.387 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001903/0.3942, allocations: 4 kB / 0.9842 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0002099/0.3945, allocations: 11.86 kB / 0.9842 GB, free: 8.371 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.3947, allocations: 43.61 kB / 0.9842 GB, free: 8.328 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002195/0.3949, allocations: 27.97 kB / 0.9842 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003748/0.3953, allocations: 171.1 kB / 0.9844 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001959/0.3955, allocations: 21.12 kB / 0.9844 GB, free: 8.113 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000176/0.3957, allocations: 51.83 kB / 0.9845 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001538/0.3959, allocations: 67.69 kB / 0.9845 GB, free: 7.996 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 3.923e-05/0.3959, allocations: 4 kB / 0.9845 GB, free: 7.992 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 3.479e-05/0.3959, allocations: 4 kB / 0.9846 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 4.599e-05/0.396, allocations: 19.92 kB / 0.9846 GB, free: 7.969 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.3961, allocations: 67.66 kB / 0.9846 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0002141/0.3963, allocations: 111.9 kB / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.3964, allocations: 0 / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3964, allocations: 0 / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.295e-06/0.3964, allocations: 0 / 0.9847 GB, free: 7.793 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001097/0.3975, allocations: 458.8 kB / 0.9852 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 7.368e-05/0.3976, allocations: 11.97 kB / 0.9852 GB, free: 7.281 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.07e-05/0.3977, allocations: 16.75 kB / 0.9852 GB, free: 7.266 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004006/0.3981, allocations: 208 kB / 0.9854 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.264e-05/0.3981, allocations: 8.375 kB / 0.9854 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.911e-05/0.3981, allocations: 4.375 kB / 0.9854 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004139/0.3986, allocations: 122.5 kB / 0.9855 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.624e-05/0.3986, allocations: 192 / 0.9855 GB, free: 6.883 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.204e-05/0.3986, allocations: 11.94 kB / 0.9855 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/0.3986, allocations: 0 / 0.9855 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003397/0.399, allocations: 99.86 kB / 0.9856 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001112/0.4001, allocations: 472.8 kB / 0.9861 GB, free: 6.258 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004705/0.4006, allocations: 129.2 kB / 0.9862 GB, free: 6.113 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001877/0.4008, allocations: 65.72 kB / 0.9863 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 4.071e-05/0.4009, allocations: 0 / 0.9863 GB, free: 6.043 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.538e-05/0.4009, allocations: 42.5 kB / 0.9863 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=9): time 9.92e-07/0.4009, allocations: 0 / 0.9863 GB, free: 5.992 MB / 0.7136 GB Notification: Performance of matching and sorting (n=9): time 0.0007169/0.4016, allocations: 181.4 kB / 0.9865 GB, free: 5.809 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.81e-05/0.4018, allocations: 85.09 kB / 0.9866 GB, free: 5.707 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002252/0.402, allocations: 167.1 kB / 0.9867 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.402, allocations: 25.7 kB / 0.9868 GB, free: 5.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001113/0.4021, allocations: 116 kB / 0.9869 GB, free: 5.383 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.711e-05/0.4022, allocations: 31.55 kB / 0.9869 GB, free: 5.352 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.86e-05/0.4023, allocations: 21.72 kB / 0.9869 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002082/0.4025, allocations: 330.8 kB / 0.9872 GB, free: 4.992 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001589/0.4026, allocations: 39.97 kB / 0.9873 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001533/0.4028, allocations: 57.69 kB / 0.9873 GB, free: 4.891 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002817/0.4031, allocations: 105.6 kB / 0.9874 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4031, allocations: 0 / 0.9874 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003948/0.4035, allocations: 141.9 kB / 0.9876 GB, free: 4.637 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.788e-05/0.4036, allocations: 8 kB / 0.9876 GB, free: 4.629 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4036, allocations: 4.062 kB / 0.9876 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.653e-05/0.4036, allocations: 0 / 0.9876 GB, free: 4.625 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.4038, allocations: 23.92 kB / 0.9876 GB, free: 4.602 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.104e-05/0.4038, allocations: 4 kB / 0.9876 GB, free: 4.598 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001314/0.4039, allocations: 15.89 kB / 0.9876 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.381e-05/0.404, allocations: 11.94 kB / 0.9876 GB, free: 4.57 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (10): * Single equations (assignments): 10 * 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 0.0001369/0.4041, allocations: 117.8 kB / 0.9877 GB, free: 4.445 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/0.4042, allocations: 15.89 kB / 0.9878 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004768/0.4047, allocations: 158.5 kB / 0.9879 GB, free: 4.273 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.222e-06/0.4047, allocations: 4 kB / 0.9879 GB, free: 4.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.655e-06/0.4047, allocations: 4 kB / 0.9879 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/0.4047, allocations: 0 / 0.9879 GB, free: 4.266 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003495/0.4051, allocations: 225.5 kB / 0.9881 GB, free: 3.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.4051, allocations: 3.984 kB / 0.9881 GB, free: 3.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001378/0.4052, allocations: 23.92 kB / 0.9882 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/0.4052, allocations: 0 / 0.9882 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.759e-05/0.4053, allocations: 8 kB / 0.9882 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.4053, allocations: 0 / 0.9882 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4053, allocations: 192 / 0.9882 GB, free: 3.961 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001086/0.4064, allocations: 0.926 MB / 0.9891 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 9.131e-05/0.4065, allocations: 85.02 kB / 0.9891 GB, free: 2.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.097e-05/0.4065, allocations: 7.938 kB / 0.9892 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.4067, allocations: 11.98 kB / 0.9892 GB, free: 2.855 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.4068, allocations: 11.92 kB / 0.9892 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.07e-05/0.4068, allocations: 4 kB / 0.9892 GB, free: 2.84 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001212/0.4069, allocations: 127.5 kB / 0.9893 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.8e-07/0.4069, allocations: 0 / 0.9893 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004044/0.4074, allocations: 32 kB / 0.9893 GB, free: 2.684 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (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 Backend phase and start with SimCode phase: time 0.0001902/0.4076, allocations: 95.25 kB / 0.9894 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.408, allocations: 107.9 kB / 0.9895 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.408, allocations: 0 / 0.9895 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001634/0.4082, allocations: 56.22 kB / 0.9896 GB, free: 2.418 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006447/0.4088, allocations: 40.3 kB / 0.9896 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008349/0.4097, allocations: 404 kB / 0.99 GB, free: 1.938 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003848/0.4101, allocations: 0.7048 MB / 0.9907 GB, free: 1.207 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001241/0.4102, allocations: 16.64 kB / 0.9907 GB, free: 1.191 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.726e-05/0.4102, allocations: 11.44 kB / 0.9907 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of SimCode: time 6.71e-07/0.4103, allocations: 0 / 0.9907 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of Templates: time 0.005829/0.4161, allocations: 1.968 MB / 0.9926 GB, free: 15.25 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.makefile (rm -f Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; mkfifo Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe >> ../files/Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.sim & ./Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.SetPoints.Examples.SupplyReturnTemperatureReset.pipe 2>&1)