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.001116/0.001116, allocations: 102.2 kB / 16.29 MB, free: 6.012 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.001189/0.001189, allocations: 179.8 kB / 17.22 MB, free: 5.621 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.362/1.362, allocations: 205.1 MB / 223.1 MB, free: 12.3 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.76/1.76, allocations: 292.3 MB / 0.5495 GB, free: 17.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.002433/0.002434, allocations: 68.47 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2609/0.2634, allocations: 114.5 MB / 0.7841 GB, free: 3.852 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004596/0.268, allocations: 3.123 MB / 0.7871 GB, free: 0.707 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.442/0.7101, allocations: 1.143 MB / 0.7883 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005085/0.7106, allocations: 16.47 kB / 0.7883 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002986/0.7109, allocations: 95.34 kB / 0.7884 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002544/0.7113, allocations: 101 kB / 0.7885 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007457/0.712, allocations: 335.9 kB / 0.7888 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0005593/0.7126, allocations: 0.6366 MB / 0.7894 GB, free: 45.96 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003794/0.713, allocations: 251.6 kB / 0.7896 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002375/0.7132, allocations: 222 kB / 0.7898 GB, free: 45.9 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002162/0.7134, allocations: 206.6 kB / 0.79 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.244e-05/0.7135, allocations: 52.5 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 7.041e-05/0.7136, allocations: 52.34 kB / 0.7901 GB, free: 45.84 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 8.616e-05/0.7137, allocations: 115.9 kB / 0.7903 GB, free: 45.82 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001564/0.7139, allocations: 238.4 kB / 0.7905 GB, free: 45.74 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005305/0.7144, allocations: 0.6884 MB / 0.7912 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7144, allocations: 0 / 0.7912 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.764e-06/0.7144, allocations: 2.625 kB / 0.7912 GB, free: 45.64 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.374e-05/0.7144, allocations: 0.5938 kB / 0.7912 GB, free: 45.64 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.001141/0.7156, allocations: 0.8136 MB / 0.792 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.7156, allocations: 7.875 kB / 0.792 GB, free: 45.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.874e-05/0.7157, allocations: 59.59 kB / 0.792 GB, free: 45.07 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006873/0.7164, allocations: 0.5037 MB / 0.7925 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.532e-05/0.7165, allocations: 18.09 kB / 0.7925 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.067e-05/0.7165, allocations: 30.72 kB / 0.7926 GB, free: 44.81 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/0.7171, allocations: 365.3 kB / 0.7929 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/0.7171, allocations: 9.844 kB / 0.7929 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.057e-05/0.7171, allocations: 12.62 kB / 0.7929 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.056e-05/0.7172, allocations: 8.531 kB / 0.7929 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005362/0.7177, allocations: 256.7 kB / 0.7932 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001314/0.719, allocations: 1.422 MB / 0.7946 GB, free: 43.88 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006197/0.7197, allocations: 269.5 kB / 0.7948 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002468/0.7199, allocations: 136.9 kB / 0.795 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4e-05/0.72, allocations: 8.609 kB / 0.795 GB, free: 43.85 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.72, allocations: 34.06 kB / 0.795 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=23): time 1.633e-06/0.72, allocations: 0 / 0.795 GB, free: 43.81 MB / 0.6544 GB Notification: Performance of matching and sorting (n=23): time 0.0008047/0.7208, allocations: 368 kB / 0.7953 GB, free: 43.75 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.948e-05/0.7209, allocations: 54.81 kB / 0.7954 GB, free: 43.69 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004035/0.7213, allocations: 409.1 kB / 0.7958 GB, free: 43.58 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.7213, allocations: 30.14 kB / 0.7958 GB, free: 43.55 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001742/0.7215, allocations: 262.1 kB / 0.7961 GB, free: 43.42 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.33e-05/0.7215, allocations: 80.08 kB / 0.7961 GB, free: 43.37 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.939e-05/0.7216, allocations: 59.7 kB / 0.7962 GB, free: 43.34 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.307e-05/0.7217, allocations: 355.7 kB / 0.7965 GB, free: 43.01 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002097/0.722, allocations: 97.03 kB / 0.7966 GB, free: 42.98 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002298/0.7222, allocations: 161.8 kB / 0.7968 GB, free: 42.88 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004454/0.7226, allocations: 272.5 kB / 0.797 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.225e-06/0.7227, allocations: 0 / 0.797 GB, free: 42.72 MB / 0.6544 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005589/0.7232, allocations: 342.5 kB / 0.7974 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.7233, allocations: 3.469 kB / 0.7974 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.7233, allocations: 3.438 kB / 0.7974 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.065e-05/0.7233, allocations: 3.438 kB / 0.7974 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002608/0.7236, allocations: 66.31 kB / 0.7974 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.7236, allocations: 3.5 kB / 0.7974 GB, free: 42.58 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001832/0.7238, allocations: 36.75 kB / 0.7975 GB, free: 42.56 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.268e-05/0.7238, allocations: 15.12 kB / 0.7975 GB, free: 42.55 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.0001601/0.724, allocations: 175.5 kB / 0.7977 GB, free: 42.4 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.722e-05/0.724, allocations: 40.25 kB / 0.7977 GB, free: 42.38 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001005/0.7241, allocations: 44.09 kB / 0.7977 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.7241, allocations: 3.125 kB / 0.7977 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.796e-06/0.7242, allocations: 3.656 kB / 0.7978 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.7242, allocations: 5.891 kB / 0.7978 GB, free: 42.35 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004381/0.7246, allocations: 436.5 kB / 0.7982 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.7246, allocations: 0 / 0.7982 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002453/0.7249, allocations: 52.02 kB / 0.7982 GB, free: 42.05 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.7249, allocations: 9.594 kB / 0.7982 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.7249, allocations: 4 kB / 0.7982 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.7249, allocations: 0 / 0.7982 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.7249, allocations: 0 / 0.7982 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008296/0.7258, allocations: 0.5004 MB / 0.7987 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/0.7259, allocations: 143.7 kB / 0.7989 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.126e-05/0.7259, allocations: 4 kB / 0.7989 GB, free: 41.62 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001753/0.7261, allocations: 16.16 kB / 0.7989 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.519e-05/0.7262, allocations: 12.05 kB / 0.7989 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.667e-05/0.7262, allocations: 11.84 kB / 0.7989 GB, free: 41.61 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002662/0.7265, allocations: 293.3 kB / 0.7992 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7265, allocations: 0 / 0.7992 GB, free: 41.46 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003104/0.7268, allocations: 70.59 kB / 0.7993 GB, free: 41.44 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 0.0001103/0.7269, allocations: 108.5 kB / 0.7994 GB, free: 41.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0005255/0.7275, allocations: 246.4 kB / 0.7996 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.7275, allocations: 2.5 kB / 0.7996 GB, free: 41.28 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002347/0.7277, allocations: 114 kB / 0.7997 GB, free: 41.25 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007178/0.7284, allocations: 122.7 kB / 0.7998 GB, free: 41.21 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00127/0.7297, allocations: 0.7309 MB / 0.8005 GB, free: 40.79 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002877/0.73, allocations: 0.82 MB / 0.8013 GB, free: 40.08 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0001922/0.7302, allocations: 53.38 kB / 0.8014 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.374e-05/0.7303, allocations: 31.62 kB / 0.8014 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of SimCode: time 2.8e-07/0.7303, allocations: 0 / 0.8014 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of Templates: time 0.01077/0.7411, allocations: 3.791 MB / 0.8051 GB, free: 39.89 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)