Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.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.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 107.5 kB / 15.99 MB, free: 6.355 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.001419/0.001419, allocations: 196.8 kB / 16.91 MB, free: 6.195 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.489/1.489, allocations: 205.1 MB / 222.8 MB, free: 4.707 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.806/1.806, allocations: 292.3 MB / 0.5492 GB, free: 13.61 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.001335/0.001335, allocations: 68.75 kB / 0.6717 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2673, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00484/0.2722, allocations: 3.147 MB / 0.7866 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002147/0.2744, allocations: 1.111 MB / 0.7877 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000266/0.2746, allocations: 19.88 kB / 0.7877 GB, free: 9.59 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002672/0.2749, allocations: 63.44 kB / 0.7878 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0002142/0.2752, allocations: 83.38 kB / 0.7878 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000704/0.2759, allocations: 314.4 kB / 0.7881 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006307/0.2765, allocations: 0.6402 MB / 0.7888 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000402/0.2769, allocations: 254.1 kB / 0.789 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.2772, allocations: 227 kB / 0.7892 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002431/0.2775, allocations: 210.8 kB / 0.7894 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.82e-05/0.2775, allocations: 52 kB / 0.7895 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 6.246e-05/0.2776, allocations: 52 kB / 0.7895 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.7e-05/0.2777, allocations: 107.6 kB / 0.7896 GB, free: 7.609 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001986/0.2779, allocations: 238.7 kB / 0.7899 GB, free: 7.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0005128/0.2784, allocations: 0.5456 MB / 0.7904 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2784, allocations: 0 / 0.7904 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2785, allocations: 0 / 0.7904 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.126e-06/0.2785, allocations: 7.938 kB / 0.7904 GB, free: 6.82 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001334/0.2798, allocations: 0.8175 MB / 0.7912 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.2799, allocations: 12.03 kB / 0.7912 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001029/0.28, allocations: 60.19 kB / 0.7913 GB, free: 5.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000783/0.2808, allocations: 0.4944 MB / 0.7918 GB, free: 5.348 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.129e-05/0.2808, allocations: 21.03 kB / 0.7918 GB, free: 5.328 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.768e-05/0.2809, allocations: 28.38 kB / 0.7918 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006656/0.2815, allocations: 379.1 kB / 0.7922 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/0.2816, allocations: 0 / 0.7922 GB, free: 4.898 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.198e-05/0.2816, allocations: 12 kB / 0.7922 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.2816, allocations: 4 kB / 0.7922 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005729/0.2822, allocations: 258 kB / 0.7924 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00167/0.2839, allocations: 1.44 MB / 0.7938 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.2846, allocations: 269.7 kB / 0.7941 GB, free: 2.848 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002915/0.2849, allocations: 140.8 kB / 0.7942 GB, free: 2.707 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.2849, allocations: 3.984 kB / 0.7942 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.612e-05/0.2849, allocations: 34.56 kB / 0.7943 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.263e-06/0.2849, allocations: 0 / 0.7943 GB, free: 2.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008834/0.2858, allocations: 360.7 kB / 0.7946 GB, free: 2.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.2859, allocations: 63.33 kB / 0.7947 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004519/0.2863, allocations: 410 kB / 0.7951 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.596e-05/0.2864, allocations: 29.7 kB / 0.7951 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.2866, allocations: 256.1 kB / 0.7953 GB, free: 1.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.2867, allocations: 86.75 kB / 0.7954 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.517e-05/0.2868, allocations: 53.92 kB / 0.7955 GB, free: 1.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.2869, allocations: 366.7 kB / 0.7958 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002433/0.2872, allocations: 92.5 kB / 0.7959 GB, free: 0.9219 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002701/0.2875, allocations: 156.8 kB / 0.796 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000519/0.288, allocations: 275.5 kB / 0.7963 GB, free: 460 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.288, allocations: 0 / 0.7963 GB, free: 460 kB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006482/0.2887, allocations: 336.8 kB / 0.7966 GB, free: 116 kB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2887, allocations: 4 kB / 0.7966 GB, free: 112 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.862e-06/0.2887, allocations: 4 kB / 0.7966 GB, free: 108 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.819e-05/0.2887, allocations: 4 kB / 0.7966 GB, free: 104 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002728/0.289, allocations: 63.89 kB / 0.7967 GB, free: 40 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.423e-05/0.289, allocations: 7.938 kB / 0.7967 GB, free: 32 kB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000221/0.2893, allocations: 36.19 kB / 0.7967 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.209e-05/0.2893, allocations: 11.94 kB / 0.7968 GB, free: 15.98 MB / 0.6231 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001817/0.2895, allocations: 169.8 kB / 0.7969 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.568e-05/0.2896, allocations: 43.44 kB / 0.797 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.709e-05/0.2897, allocations: 51.97 kB / 0.797 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.2897, allocations: 4 kB / 0.797 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.143e-06/0.2897, allocations: 0 / 0.797 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.2897, allocations: 3.938 kB / 0.797 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004768/0.2902, allocations: 441.2 kB / 0.7974 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.2902, allocations: 0 / 0.7974 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.2904, allocations: 43.97 kB / 0.7975 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.2905, allocations: 0 / 0.7975 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.269e-05/0.2905, allocations: 8 kB / 0.7975 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2905, allocations: 0 / 0.7975 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.388e-06/0.2905, allocations: 7.922 kB / 0.7975 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009296/0.2914, allocations: 0.5027 MB / 0.798 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001387/0.2916, allocations: 136.5 kB / 0.7981 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.637e-05/0.2916, allocations: 8 kB / 0.7981 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001873/0.2918, allocations: 15.98 kB / 0.7981 GB, free: 14.47 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.678e-05/0.2919, allocations: 24.03 kB / 0.7982 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.481e-05/0.2919, allocations: 7.938 kB / 0.7982 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003222/0.2923, allocations: 287.1 kB / 0.7984 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2923, allocations: 0 / 0.7984 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000331/0.2926, allocations: 75.69 kB / 0.7985 GB, free: 14.09 MB / 0.6231 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 (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.0001343/0.2927, allocations: 107.1 kB / 0.7986 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006223/0.2934, allocations: 259.5 kB / 0.7989 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2934, allocations: 0 / 0.7989 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002635/0.2936, allocations: 123.8 kB / 0.799 GB, free: 13.6 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007515/0.2944, allocations: 123.6 kB / 0.7991 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00144/0.2959, allocations: 0.9156 MB / 0.8 GB, free: 12.54 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.2963, allocations: 0.8194 MB / 0.8008 GB, free: 11.7 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.2964, allocations: 31.44 kB / 0.8008 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.2964, allocations: 0 / 0.8008 GB, free: 11.66 MB / 0.6231 GB Notification: Performance of Templates: time 0.008222/0.3046, allocations: 5.346 MB / 0.806 GB, free: 6.359 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile (rm -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & ./Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)