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.0008672/0.0008672, allocations: 92 kB / 15.06 MB, free: 1.098 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.00104/0.00104, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.406/1.406, allocations: 205.4 MB / 222.1 MB, free: 5.746 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.66/1.66, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.000482/0.000482, allocations: 14.38 kB / 0.6737 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2341/0.2346, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.00312/0.2378, allocations: 2.632 MB / 0.7899 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00201/0.2398, allocations: 1.069 MB / 0.7909 GB, free: 8.203 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002368/0.2401, allocations: 23.81 kB / 0.7909 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002026/0.2403, allocations: 67.44 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001872/0.2405, allocations: 75.3 kB / 0.7911 GB, free: 8.039 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005909/0.2411, allocations: 238.1 kB / 0.7913 GB, free: 7.812 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005166/0.2416, allocations: 0.5311 MB / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000293/0.2419, allocations: 161.6 kB / 0.792 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002048/0.2421, allocations: 159 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000212/0.2424, allocations: 143 kB / 0.7923 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.855e-05/0.2424, allocations: 12 kB / 0.7923 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 3.477e-05/0.2424, allocations: 12 kB / 0.7923 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.923e-05/0.2425, allocations: 63.62 kB / 0.7923 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001252/0.2426, allocations: 101.5 kB / 0.7924 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004537/0.2431, allocations: 0.5222 MB / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.2431, allocations: 0 / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2431, allocations: 0 / 0.7929 GB, free: 6.102 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.465e-06/0.2431, allocations: 0 / 0.7929 GB, free: 6.102 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.001196/0.2443, allocations: 0.7475 MB / 0.7937 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/0.2444, allocations: 8.031 kB / 0.7937 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.579e-05/0.2445, allocations: 59.34 kB / 0.7937 GB, free: 5.234 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007536/0.2452, allocations: 0.4895 MB / 0.7942 GB, free: 4.703 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.571e-05/0.2453, allocations: 20.66 kB / 0.7942 GB, free: 4.684 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.88e-05/0.2454, allocations: 32 kB / 0.7943 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006357/0.246, allocations: 366.8 kB / 0.7946 GB, free: 4.262 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.246, allocations: 7.938 kB / 0.7946 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.168e-05/0.2461, allocations: 16 kB / 0.7946 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.2461, allocations: 8 kB / 0.7946 GB, free: 4.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.2467, allocations: 266 kB / 0.7949 GB, free: 3.973 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00156/0.2482, allocations: 1.44 MB / 0.7963 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006067/0.2489, allocations: 262.9 kB / 0.7966 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00027/0.2491, allocations: 148.8 kB / 0.7967 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.563e-05/0.2492, allocations: 0 / 0.7967 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.222e-05/0.2492, allocations: 38.56 kB / 0.7967 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.032e-06/0.2492, allocations: 0 / 0.7967 GB, free: 1.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008191/0.25, allocations: 383.1 kB / 0.7971 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.393e-05/0.2501, allocations: 59.36 kB / 0.7972 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004296/0.2505, allocations: 417.9 kB / 0.7976 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.217e-05/0.2506, allocations: 29.7 kB / 0.7976 GB, free: 1.09 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001896/0.2507, allocations: 260.1 kB / 0.7978 GB, free: 0.832 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.846e-05/0.2508, allocations: 86.73 kB / 0.7979 GB, free: 0.7461 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.264e-05/0.2508, allocations: 4 kB / 0.7979 GB, free: 0.7422 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001581/0.251, allocations: 350.8 kB / 0.7983 GB, free: 400 kB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002292/0.2512, allocations: 104.5 kB / 0.7984 GB, free: 296 kB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.2515, allocations: 160.8 kB / 0.7985 GB, free: 108 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.2518, allocations: 131.8 kB / 0.7986 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.2518, allocations: 0 / 0.7986 GB, free: 15.98 MB / 0.6231 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006074/0.2524, allocations: 340.9 kB / 0.799 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.2524, allocations: 8 kB / 0.799 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.825e-06/0.2524, allocations: 0 / 0.799 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.2525, allocations: 4 kB / 0.799 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002713/0.2527, allocations: 67.89 kB / 0.799 GB, free: 15.56 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.2528, allocations: 7.953 kB / 0.799 GB, free: 15.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001736/0.2529, allocations: 35.98 kB / 0.7991 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.423e-05/0.253, allocations: 15.98 kB / 0.7991 GB, free: 15.5 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000206/0.2532, allocations: 169.8 kB / 0.7993 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.299e-05/0.2533, allocations: 47.42 kB / 0.7993 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.701e-05/0.2534, allocations: 43.98 kB / 0.7993 GB, free: 15.24 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2534, allocations: 4 kB / 0.7993 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.2534, allocations: 3.984 kB / 0.7994 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.881e-06/0.2534, allocations: 7.953 kB / 0.7994 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004591/0.2539, allocations: 429.2 kB / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.2539, allocations: 3.938 kB / 0.7998 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002506/0.2541, allocations: 59.89 kB / 0.7998 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.2541, allocations: 0 / 0.7998 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.701e-05/0.2542, allocations: 0 / 0.7998 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.2542, allocations: 4 kB / 0.7998 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2542, allocations: 0 / 0.7998 GB, free: 14.69 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000885/0.2551, allocations: 0.5181 MB / 0.8003 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.2552, allocations: 144.5 kB / 0.8005 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.183e-05/0.2552, allocations: 4 kB / 0.8005 GB, free: 13.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.2554, allocations: 19.98 kB / 0.8005 GB, free: 13.97 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.688e-05/0.2555, allocations: 11.98 kB / 0.8005 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.2555, allocations: 11.92 kB / 0.8005 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003051/0.2558, allocations: 287.2 kB / 0.8008 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2558, allocations: 4 kB / 0.8008 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003255/0.2562, allocations: 63.84 kB / 0.8009 GB, free: 13.6 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 (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.0001335/0.2563, allocations: 99.25 kB / 0.801 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005713/0.2569, allocations: 251.6 kB / 0.8012 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.2569, allocations: 0 / 0.8012 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002395/0.2571, allocations: 135 kB / 0.8013 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007351/0.2579, allocations: 120.1 kB / 0.8014 GB, free: 13.01 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001317/0.2592, allocations: 0.8705 MB / 0.8023 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.2596, allocations: 0.8152 MB / 0.8031 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000203/0.2598, allocations: 55.23 kB / 0.8031 GB, free: 11.21 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.678e-05/0.2599, allocations: 27.44 kB / 0.8032 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of SimCode: time 6.12e-07/0.2599, allocations: 4 kB / 0.8032 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of Templates: time 0.007138/0.267, allocations: 3.453 MB / 0.8065 GB, free: 7.797 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: