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.0008317/0.0008314, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.005153/0.005153, allocations: 169.7 kB / 16.27 MB, free: 6.652 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.386/1.386, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.745/1.745, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005452/0.0005452, allocations: 14.78 kB / 0.6743 GB, free: 25.85 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2356/0.2362, allocations: 116.3 MB / 0.7879 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003676/0.2399, allocations: 2.762 MB / 0.7906 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00222/0.2422, allocations: 1.1 MB / 0.7917 GB, free: 7.66 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005154/0.2427, allocations: 15.94 kB / 0.7917 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0003029/0.2431, allocations: 63.39 kB / 0.7917 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.000416/0.2435, allocations: 83.36 kB / 0.7918 GB, free: 7.5 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008582/0.2444, allocations: 309.6 kB / 0.7921 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007748/0.2451, allocations: 0.5855 MB / 0.7927 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004461/0.2456, allocations: 242.1 kB / 0.7929 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003087/0.2459, allocations: 163 kB / 0.7931 GB, free: 6.211 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002322/0.2462, allocations: 154.8 kB / 0.7932 GB, free: 6.059 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/0.2462, allocations: 12 kB / 0.7932 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.495e-05/0.2463, allocations: 8 kB / 0.7932 GB, free: 6.039 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.516e-05/0.2463, allocations: 59.62 kB / 0.7933 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.2465, allocations: 212.3 kB / 0.7935 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004851/0.247, allocations: 0.6148 MB / 0.7941 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.247, allocations: 0 / 0.7941 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.785e-06/0.247, allocations: 0 / 0.7941 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.247, allocations: 0 / 0.7941 GB, free: 5.148 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.001147/0.2482, allocations: 0.7437 MB / 0.7948 GB, free: 4.355 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.2482, allocations: 8.031 kB / 0.7948 GB, free: 4.348 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001023/0.2483, allocations: 60.28 kB / 0.7949 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006973/0.249, allocations: 0.5022 MB / 0.7954 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.2491, allocations: 21.03 kB / 0.7954 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.153e-05/0.2491, allocations: 32.38 kB / 0.7954 GB, free: 3.695 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006361/0.2498, allocations: 375.1 kB / 0.7958 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.115e-05/0.2498, allocations: 4 kB / 0.7958 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.417e-05/0.2498, allocations: 15.98 kB / 0.7958 GB, free: 3.277 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.989e-06/0.2498, allocations: 12 kB / 0.7958 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000585/0.2504, allocations: 269.9 kB / 0.7961 GB, free: 3 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001454/0.2519, allocations: 1.436 MB / 0.7975 GB, free: 1.492 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006745/0.2526, allocations: 266.9 kB / 0.7977 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002908/0.2529, allocations: 140.8 kB / 0.7979 GB, free: 1.082 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.925e-05/0.2529, allocations: 11.94 kB / 0.7979 GB, free: 1.07 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.273e-05/0.253, allocations: 42.48 kB / 0.7979 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.413e-06/0.253, allocations: 0 / 0.7979 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008751/0.2538, allocations: 379.2 kB / 0.7983 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.2539, allocations: 55.41 kB / 0.7983 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000424/0.2543, allocations: 417.9 kB / 0.7987 GB, free: 164 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.2543, allocations: 29.7 kB / 0.7988 GB, free: 128 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001824/0.2545, allocations: 264.1 kB / 0.799 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.581e-05/0.2546, allocations: 78.75 kB / 0.7991 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.645e-05/0.2547, allocations: 33.7 kB / 0.7991 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.2548, allocations: 354.7 kB / 0.7995 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/0.255, allocations: 100.5 kB / 0.7996 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002796/0.2553, allocations: 168.7 kB / 0.7997 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000539/0.2559, allocations: 283.5 kB / 0.8 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2559, allocations: 0 / 0.8 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006713/0.2566, allocations: 352.8 kB / 0.8003 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.938e-05/0.2566, allocations: 11.22 kB / 0.8003 GB, free: 14.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2566, allocations: 4 kB / 0.8003 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2566, allocations: 4 kB / 0.8003 GB, free: 14.43 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.2569, allocations: 71.89 kB / 0.8004 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.2569, allocations: 0 / 0.8004 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002047/0.2572, allocations: 39.67 kB / 0.8005 GB, free: 14.32 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.2572, allocations: 8 kB / 0.8005 GB, free: 14.31 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.0001789/0.2574, allocations: 173.8 kB / 0.8006 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.736e-05/0.2574, allocations: 43.52 kB / 0.8007 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001018/0.2576, allocations: 43.98 kB / 0.8007 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2576, allocations: 4 kB / 0.8007 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.2576, allocations: 0 / 0.8007 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2576, allocations: 3.938 kB / 0.8007 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004356/0.258, allocations: 437.2 kB / 0.8011 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.258, allocations: 3.938 kB / 0.8011 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000265/0.2583, allocations: 55.91 kB / 0.8012 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2583, allocations: 0 / 0.8012 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.053e-05/0.2583, allocations: 7.984 kB / 0.8012 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2584, allocations: 4 kB / 0.8012 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.2584, allocations: 0 / 0.8012 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009017/0.2593, allocations: 0.5159 MB / 0.8017 GB, free: 12.96 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000122/0.2594, allocations: 144.5 kB / 0.8018 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.252e-05/0.2595, allocations: 8 kB / 0.8018 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001898/0.2596, allocations: 15.98 kB / 0.8019 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.848e-05/0.2597, allocations: 15.97 kB / 0.8019 GB, free: 12.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/0.2597, allocations: 15.94 kB / 0.8019 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002921/0.26, allocations: 287.1 kB / 0.8022 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.26, allocations: 0 / 0.8022 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003241/0.2604, allocations: 71.69 kB / 0.8022 GB, free: 12.4 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.000116/0.2605, allocations: 107.2 kB / 0.8023 GB, free: 12.29 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005828/0.2611, allocations: 260 kB / 0.8026 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2611, allocations: 0 / 0.8026 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002671/0.2614, allocations: 130.5 kB / 0.8027 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007139/0.2621, allocations: 116.3 kB / 0.8028 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.2634, allocations: 0.9097 MB / 0.8037 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003417/0.2637, allocations: 0.8152 MB / 0.8045 GB, free: 10.02 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001984/0.264, allocations: 51.25 kB / 0.8046 GB, free: 9.969 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.428e-05/0.264, allocations: 35.42 kB / 0.8046 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of SimCode: time 3.41e-07/0.264, allocations: 0 / 0.8046 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of Templates: time 0.007311/0.2714, allocations: 3.55 MB / 0.8081 GB, free: 6.445 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: