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.001413/0.001413, allocations: 106.5 kB / 16.37 MB, free: 6.477 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.001609/0.001609, allocations: 189.8 kB / 17.31 MB, free: 5.824 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.388/1.388, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.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.817/1.817, allocations: 292.3 MB / 0.5496 GB, free: 17.46 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.001434/0.001434, allocations: 79.02 kB / 0.6729 GB, free: 5.836 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2529/0.2543, allocations: 114.5 MB / 0.7848 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00467/0.259, allocations: 3.124 MB / 0.7879 GB, free: 24 kB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.4013/0.6604, allocations: 1.141 MB / 0.789 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003055/0.6607, allocations: 18.12 kB / 0.789 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.661, allocations: 95.83 kB / 0.7891 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001971/0.6613, allocations: 102.3 kB / 0.7892 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005984/0.6619, allocations: 337.9 kB / 0.7895 GB, free: 46.38 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.000491/0.6624, allocations: 0.6338 MB / 0.7901 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003415/0.6628, allocations: 253.7 kB / 0.7904 GB, free: 46.36 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002194/0.663, allocations: 217.7 kB / 0.7906 GB, free: 46.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001947/0.6632, allocations: 207.3 kB / 0.7908 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 6.485e-05/0.6633, allocations: 53.56 kB / 0.7908 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 5.765e-05/0.6633, allocations: 54.56 kB / 0.7909 GB, free: 46.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 6.699e-05/0.6634, allocations: 110.1 kB / 0.791 GB, free: 46.23 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.6635, allocations: 240.4 kB / 0.7912 GB, free: 46.15 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0004531/0.664, allocations: 0.6864 MB / 0.7919 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.664, allocations: 2.625 kB / 0.7919 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.883e-06/0.664, allocations: 1.938 kB / 0.7919 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.423e-05/0.664, allocations: 0 / 0.7919 GB, free: 46.05 MB / 0.6544 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.00111/0.6652, allocations: 0.8175 MB / 0.7927 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.951e-05/0.6652, allocations: 8.844 kB / 0.7927 GB, free: 45.51 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.013e-05/0.6653, allocations: 64.69 kB / 0.7927 GB, free: 45.48 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006922/0.666, allocations: 0.5131 MB / 0.7932 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.666, allocations: 20.97 kB / 0.7933 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.6661, allocations: 27.41 kB / 0.7933 GB, free: 45.22 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005493/0.6666, allocations: 372.8 kB / 0.7936 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.213e-05/0.6667, allocations: 1.5 kB / 0.7936 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3e-05/0.6667, allocations: 10.81 kB / 0.7937 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.708e-06/0.6667, allocations: 10.25 kB / 0.7937 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005139/0.6672, allocations: 261.3 kB / 0.7939 GB, free: 45.11 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.6685, allocations: 1.422 MB / 0.7953 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006145/0.6691, allocations: 264.5 kB / 0.7956 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002507/0.6694, allocations: 137.2 kB / 0.7957 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.766e-05/0.6694, allocations: 5.859 kB / 0.7957 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.581e-05/0.6694, allocations: 39.91 kB / 0.7957 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.473e-06/0.6694, allocations: 0 / 0.7957 GB, free: 44.2 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0007874/0.6702, allocations: 368.5 kB / 0.7961 GB, free: 44.05 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.731e-05/0.6703, allocations: 55.44 kB / 0.7961 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003424/0.6706, allocations: 409.3 kB / 0.7965 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.929e-05/0.6707, allocations: 33.17 kB / 0.7966 GB, free: 43.76 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001265/0.6708, allocations: 259 kB / 0.7968 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 3.892e-05/0.6708, allocations: 83.31 kB / 0.7969 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.66e-05/0.6709, allocations: 52.48 kB / 0.7969 GB, free: 43.45 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 6.852e-05/0.671, allocations: 356.3 kB / 0.7973 GB, free: 43.12 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002164/0.6712, allocations: 97.73 kB / 0.7974 GB, free: 43.09 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002306/0.6714, allocations: 166.2 kB / 0.7975 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000441/0.6719, allocations: 266 kB / 0.7978 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6719, allocations: 0 / 0.7978 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000566/0.6725, allocations: 341.2 kB / 0.7981 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.6725, allocations: 5.438 kB / 0.7981 GB, free: 42.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.6725, allocations: 9.359 kB / 0.7981 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.6725, allocations: 3.5 kB / 0.7981 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002598/0.6728, allocations: 62.67 kB / 0.7982 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.6728, allocations: 9.016 kB / 0.7982 GB, free: 42.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001867/0.673, allocations: 36.95 kB / 0.7982 GB, free: 42.66 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.012e-05/0.673, allocations: 14.31 kB / 0.7982 GB, free: 42.65 MB / 0.6544 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.0001382/0.6732, allocations: 173.7 kB / 0.7984 GB, free: 42.5 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.411e-05/0.6732, allocations: 40.56 kB / 0.7984 GB, free: 42.48 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.919e-05/0.6733, allocations: 43.66 kB / 0.7985 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.6733, allocations: 7.344 kB / 0.7985 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.6734, allocations: 0 / 0.7985 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.6734, allocations: 5.719 kB / 0.7985 GB, free: 42.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003935/0.6738, allocations: 434.8 kB / 0.7989 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.294e-06/0.6738, allocations: 3.5 kB / 0.7989 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002663/0.674, allocations: 47.12 kB / 0.799 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6741, allocations: 3.562 kB / 0.799 GB, free: 42.15 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.184e-05/0.6741, allocations: 5.312 kB / 0.799 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.576e-06/0.6741, allocations: 4.828 kB / 0.799 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.6741, allocations: 3.812 kB / 0.799 GB, free: 42.14 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008087/0.6749, allocations: 0.4941 MB / 0.7995 GB, free: 41.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 9.81e-05/0.675, allocations: 143.4 kB / 0.7996 GB, free: 41.73 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.354e-05/0.6751, allocations: 11.62 kB / 0.7996 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001809/0.6753, allocations: 9.844 kB / 0.7996 GB, free: 41.72 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.196e-05/0.6753, allocations: 19 kB / 0.7996 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.419e-05/0.6753, allocations: 9.438 kB / 0.7996 GB, free: 41.71 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002477/0.6756, allocations: 288.8 kB / 0.7999 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6756, allocations: 0 / 0.7999 GB, free: 41.57 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003208/0.6759, allocations: 68.38 kB / 0.8 GB, free: 41.55 MB / 0.6544 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 9.123e-05/0.676, allocations: 106.6 kB / 0.8001 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005373/0.6766, allocations: 250.9 kB / 0.8003 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.6766, allocations: 0 / 0.8003 GB, free: 41.38 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002329/0.6768, allocations: 121.8 kB / 0.8004 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006468/0.6775, allocations: 119.4 kB / 0.8006 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001168/0.6787, allocations: 0.7548 MB / 0.8013 GB, free: 40.86 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.6789, allocations: 0.8206 MB / 0.8021 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001008/0.679, allocations: 36.64 kB / 0.8021 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.4e-07/0.679, allocations: 3.938 kB / 0.8021 GB, free: 40.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.01059/0.6896, allocations: 5.332 MB / 0.8073 GB, free: 39.69 MB / 0.6544 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)