Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") translateModel(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.171/3.171, allocations: 287.3 MB / 302.3 MB, free: 8.332 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.001601/0.001601, allocations: 179 kB / 370.8 MB, free: 10.87 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.382/2.382, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001235/0.001235, allocations: 89.81 kB / 0.7428 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005064/0.0005065, allocations: 16.36 kB / 0.8656 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2583/0.2588, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003817/0.2627, allocations: 2.624 MB / 0.9808 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002436/0.2652, allocations: 1.042 MB / 0.9818 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003262/0.2656, allocations: 19.88 kB / 0.9818 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 8.017e-05/0.2657, allocations: 31.59 kB / 0.9818 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0006248/0.2663, allocations: 151.5 kB / 0.982 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008773/0.2672, allocations: 252.6 kB / 0.9822 GB, free: 24.25 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006901/0.2679, allocations: 392.5 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003156/0.2682, allocations: 161.8 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002866/0.2685, allocations: 171.1 kB / 0.9829 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002276/0.2688, allocations: 143.1 kB / 0.983 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.608e-05/0.2688, allocations: 12 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.368e-05/0.2689, allocations: 8 kB / 0.9831 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.703e-05/0.269, allocations: 59.69 kB / 0.9831 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.412e-05/0.2691, allocations: 105.4 kB / 0.9832 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005341/0.2696, allocations: 0.5145 MB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2696, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.056e-06/0.2696, allocations: 0 / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.2697, allocations: 7.938 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001588/0.2713, allocations: 0.7497 MB / 0.9845 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.407e-05/0.2713, allocations: 12.02 kB / 0.9845 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001202/0.2714, allocations: 55.34 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.2725, allocations: 497.3 kB / 0.985 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.158e-05/0.2725, allocations: 28.59 kB / 0.985 GB, free: 21.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.162e-05/0.2726, allocations: 31.94 kB / 0.9851 GB, free: 21.24 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000901/0.2735, allocations: 370.8 kB / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.825e-05/0.2736, allocations: 0 / 0.9854 GB, free: 20.84 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.863e-05/0.2736, allocations: 16 kB / 0.9854 GB, free: 20.83 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.18e-05/0.2736, allocations: 8 kB / 0.9854 GB, free: 20.82 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009633/0.2746, allocations: 262 kB / 0.9857 GB, free: 20.57 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001999/0.2766, allocations: 1.436 MB / 0.9871 GB, free: 19.05 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00104/0.2777, allocations: 283.7 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 4.02e-05/0.2778, allocations: 4 kB / 0.9874 GB, free: 18.77 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/0.2778, allocations: 30.56 kB / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=23): time 3.476e-06/0.2778, allocations: 0 / 0.9874 GB, free: 18.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=23): time 0.001387/0.2792, allocations: 385.1 kB / 0.9878 GB, free: 18.35 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.991e-05/0.2792, allocations: 55.41 kB / 0.9878 GB, free: 18.28 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005491/0.2798, allocations: 406 kB / 0.9882 GB, free: 17.87 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.915e-05/0.2798, allocations: 33.7 kB / 0.9882 GB, free: 17.83 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001871/0.28, allocations: 256.1 kB / 0.9885 GB, free: 17.58 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 6.873e-05/0.2801, allocations: 86.83 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.158e-05/0.2802, allocations: 4 kB / 0.9886 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.2803, allocations: 354.8 kB / 0.9889 GB, free: 17.13 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004045/0.2807, allocations: 100.5 kB / 0.989 GB, free: 17.04 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004356/0.2811, allocations: 172.7 kB / 0.9892 GB, free: 16.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.2816, allocations: 117.3 kB / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/0.2816, allocations: 0 / 0.9893 GB, free: 16.73 MB / 0.6198 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001078/0.2827, allocations: 356.7 kB / 0.9896 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.2827, allocations: 4 kB / 0.9896 GB, free: 16.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.2827, allocations: 4 kB / 0.9896 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.034e-05/0.2828, allocations: 4 kB / 0.9896 GB, free: 16.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005126/0.2833, allocations: 67.89 kB / 0.9897 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/0.2833, allocations: 7.953 kB / 0.9897 GB, free: 16.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003264/0.2837, allocations: 39.92 kB / 0.9897 GB, free: 16.25 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.223e-05/0.2837, allocations: 12 kB / 0.9897 GB, free: 16.23 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 33 * 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 0.000247/0.284, allocations: 173.7 kB / 0.9899 GB, free: 16.05 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.874e-05/0.284, allocations: 43.44 kB / 0.99 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001123/0.2842, allocations: 51.91 kB / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.659e-06/0.2842, allocations: 0 / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.2842, allocations: 4 kB / 0.99 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.2842, allocations: 11.95 kB / 0.99 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005589/0.2848, allocations: 433.2 kB / 0.9904 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.2848, allocations: 4 kB / 0.9904 GB, free: 15.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004774/0.2853, allocations: 43.97 kB / 0.9905 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.2853, allocations: 0 / 0.9905 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.782e-05/0.2853, allocations: 8 kB / 0.9905 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.2854, allocations: 0 / 0.9905 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2854, allocations: 0 / 0.9905 GB, free: 15.42 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001424/0.2868, allocations: 0.5265 MB / 0.991 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001583/0.287, allocations: 136.6 kB / 0.9911 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.708e-05/0.2871, allocations: 8 kB / 0.9911 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003303/0.2874, allocations: 15.98 kB / 0.9912 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.356e-05/0.2875, allocations: 15.97 kB / 0.9912 GB, free: 14.69 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.523e-05/0.2875, allocations: 8.062 kB / 0.9912 GB, free: 14.68 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004105/0.288, allocations: 287.1 kB / 0.9914 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.8e-07/0.288, allocations: 0 / 0.9914 GB, free: 14.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004641/0.2884, allocations: 67.75 kB / 0.9915 GB, free: 14.33 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (conHeaFan.conHeaCoi.I.y,conHeaFan.conFan.I.y) * 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 (23): * Single equations (assignments): 23 * 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.000129/0.2886, allocations: 107.1 kB / 0.9916 GB, free: 14.22 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009107/0.2895, allocations: 251.8 kB / 0.9919 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.025e-06/0.2895, allocations: 0 / 0.9919 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0004288/0.29, allocations: 132.2 kB / 0.992 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009054/0.2909, allocations: 105.8 kB / 0.9921 GB, free: 13.74 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.2926, allocations: 0.8732 MB / 0.9929 GB, free: 12.84 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.2929, allocations: 0.8308 MB / 0.9937 GB, free: 11.98 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0003426/0.2933, allocations: 51.25 kB / 0.9938 GB, free: 11.93 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001268/0.2934, allocations: 27.44 kB / 0.9938 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of SimCode: time 1.423e-06/0.2934, allocations: 0 / 0.9938 GB, free: 11.91 MB / 0.6198 GB Notification: Performance of Templates: time 0.01109/0.3045, allocations: 3.443 MB / 0.9972 GB, free: 8.535 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)