Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00653/0.00653, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.00176/0.00176, allocations: 202.3 kB / 16.68 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.438/2.438, allocations: 437.1 MB / 0.7106 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001794/0.001794, allocations: 59.91 kB / 1.018 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2498/0.2516, allocations: 151.6 MB / 1.166 GB, free: 7.305 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004311/0.2559, allocations: 3.11 MB / 1.169 GB, free: 4.164 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001999/0.258, allocations: 1.099 MB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003234/0.2583, allocations: 15.94 kB / 1.17 GB, free: 3.043 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002634/0.2586, allocations: 95 kB / 1.17 GB, free: 2.949 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002827/0.2589, allocations: 107 kB / 1.171 GB, free: 2.844 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007067/0.2596, allocations: 335 kB / 1.171 GB, free: 2.52 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0007066/0.2603, allocations: 0.6363 MB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003741/0.2607, allocations: 258.1 kB / 1.172 GB, free: 1.625 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002883/0.261, allocations: 219 kB / 1.172 GB, free: 1.41 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002688/0.2613, allocations: 210.8 kB / 1.172 GB, free: 1.203 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 7.636e-05/0.2614, allocations: 52 kB / 1.172 GB, free: 1.152 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 6.838e-05/0.2614, allocations: 52 kB / 1.172 GB, free: 1.102 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 9.642e-05/0.2615, allocations: 107.6 kB / 1.172 GB, free: 0.9961 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.0002004/0.2617, allocations: 246.5 kB / 1.173 GB, free: 0.7539 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0006512/0.2624, allocations: 0.6886 MB / 1.173 GB, free: 64 kB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 2.716e-06/0.2624, allocations: 4 kB / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of FrontEnd: time 1.072e-06/0.2624, allocations: 0 / 1.173 GB, free: 60 kB / 0.92 GB Notification: Performance of Transformations before backend: time 6.723e-06/0.2624, allocations: 0 / 1.173 GB, free: 60 kB / 0.92 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.001243/0.2637, allocations: 0.8408 MB / 1.174 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.271e-05/0.2637, allocations: 8.031 kB / 1.174 GB, free: 15.15 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.379e-05/0.2638, allocations: 70.72 kB / 1.174 GB, free: 15.07 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.647e-05/0.2639, allocations: 56.56 kB / 1.174 GB, free: 15.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000826/0.2647, allocations: 0.5143 MB / 1.175 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.589e-05/0.2648, allocations: 25.03 kB / 1.175 GB, free: 14.44 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.607e-05/0.2648, allocations: 32.33 kB / 1.175 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006343/0.2655, allocations: 374.9 kB / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.105e-05/0.2655, allocations: 0 / 1.175 GB, free: 14.01 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.055e-05/0.2655, allocations: 16 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.998e-06/0.2655, allocations: 8 kB / 1.175 GB, free: 13.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005899/0.2661, allocations: 254 kB / 1.175 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001528/0.2677, allocations: 1.425 MB / 1.177 GB, free: 12.24 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006825/0.2683, allocations: 270.8 kB / 1.177 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002827/0.2686, allocations: 132.8 kB / 1.177 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.604e-05/0.2687, allocations: 8 kB / 1.177 GB, free: 11.83 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.2687, allocations: 34.56 kB / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=23): time 1.453e-06/0.2687, allocations: 0 / 1.177 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23): time 0.0008656/0.2696, allocations: 361.9 kB / 1.178 GB, free: 11.43 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.2696, allocations: 59.41 kB / 1.178 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004411/0.2701, allocations: 417.8 kB / 1.178 GB, free: 10.94 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.2701, allocations: 29.7 kB / 1.178 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.2703, allocations: 264.4 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 6.334e-05/0.2704, allocations: 79.33 kB / 1.178 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.816e-05/0.2705, allocations: 53.97 kB / 1.178 GB, free: 10.5 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.2706, allocations: 354.8 kB / 1.179 GB, free: 10.15 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002499/0.2709, allocations: 100.5 kB / 1.179 GB, free: 10.05 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002865/0.2712, allocations: 156.7 kB / 1.179 GB, free: 9.871 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/0.2717, allocations: 273.5 kB / 1.179 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2717, allocations: 0 / 1.179 GB, free: 9.578 MB / 0.9356 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006763/0.2724, allocations: 345 kB / 1.18 GB, free: 9.234 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.2724, allocations: 7.938 kB / 1.18 GB, free: 9.227 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.2725, allocations: 11.88 kB / 1.18 GB, free: 9.215 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2725, allocations: 4 kB / 1.18 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002696/0.2727, allocations: 59.89 kB / 1.18 GB, free: 9.152 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.796e-06/0.2728, allocations: 4 kB / 1.18 GB, free: 9.148 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001879/0.273, allocations: 43.7 kB / 1.18 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.988e-05/0.273, allocations: 12.22 kB / 1.18 GB, free: 9.094 MB / 0.9356 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.0001805/0.2732, allocations: 177.8 kB / 1.18 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.487e-05/0.2732, allocations: 43.72 kB / 1.18 GB, free: 8.867 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.173e-05/0.2733, allocations: 43.98 kB / 1.18 GB, free: 8.82 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.358e-06/0.2733, allocations: 4 kB / 1.18 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.2734, allocations: 0 / 1.18 GB, free: 8.816 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.2734, allocations: 7.922 kB / 1.18 GB, free: 8.809 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004657/0.2738, allocations: 437.2 kB / 1.18 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2738, allocations: 0 / 1.18 GB, free: 8.332 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002534/0.2741, allocations: 51.91 kB / 1.18 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2741, allocations: 0 / 1.18 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.165e-05/0.2741, allocations: 11.98 kB / 1.18 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.2742, allocations: 0 / 1.18 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2742, allocations: 0 / 1.18 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009122/0.2751, allocations: 0.4938 MB / 1.181 GB, free: 7.762 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001318/0.2752, allocations: 144.7 kB / 1.181 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.532e-05/0.2753, allocations: 11.98 kB / 1.181 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001785/0.2754, allocations: 11.98 kB / 1.181 GB, free: 7.578 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.494e-05/0.2755, allocations: 19.78 kB / 1.181 GB, free: 7.559 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.512e-05/0.2755, allocations: 8 kB / 1.181 GB, free: 7.551 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0003019/0.2758, allocations: 291.2 kB / 1.181 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2758, allocations: 0 / 1.181 GB, free: 7.27 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003109/0.2762, allocations: 67.89 kB / 1.181 GB, free: 7.203 MB / 0.9356 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.00117/0.2773, allocations: 1.046 MB / 1.182 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005669/0.2779, allocations: 244.2 kB / 1.183 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2779, allocations: 0 / 1.183 GB, free: 5.895 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.2782, allocations: 122.8 kB / 1.183 GB, free: 5.777 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006232/0.2788, allocations: 133.8 kB / 1.183 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004619/0.2835, allocations: 3.512 MB / 1.186 GB, free: 2.008 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.2839, allocations: 0.8233 MB / 1.187 GB, free: 1.16 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001962/0.2841, allocations: 51.25 kB / 1.187 GB, free: 1.109 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002079/0.2843, allocations: 147.4 kB / 1.187 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of SimCode: time 4.31e-07/0.2843, allocations: 0 / 1.187 GB, free: 0.9648 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.35/1.634, allocations: 8.022 MB / 1.195 GB, free: 9.156 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.46/13.09, allocations: 5.062 kB / 1.195 GB, free: 9.156 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_10_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)