Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001256/0.00126, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001268/0.001268, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.32/1.32, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 469.8 MB / 0.7424 GB, free: 7.359 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002106/0.002106, allocations: 67.03 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2436/0.2457, allocations: 159.2 MB / 1.064 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.004315/0.25, allocations: 3.103 MB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001895/0.252, allocations: 1.103 MB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002391/0.2522, allocations: 19.88 kB / 1.068 GB, free: 9.883 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0002222/0.2524, allocations: 87.06 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002051/0.2527, allocations: 107.1 kB / 1.068 GB, free: 9.691 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006314/0.2533, allocations: 337 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0005919/0.2539, allocations: 0.6442 MB / 1.069 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000349/0.2543, allocations: 250.2 kB / 1.07 GB, free: 8.473 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000237/0.2545, allocations: 223 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002242/0.2547, allocations: 206.9 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 6.889e-05/0.2548, allocations: 52 kB / 1.07 GB, free: 8 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.128e-05/0.2549, allocations: 52 kB / 1.07 GB, free: 7.949 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.333e-05/0.255, allocations: 119.5 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001902/0.2552, allocations: 234.6 kB / 1.07 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005717/0.2558, allocations: 0.6657 MB / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2558, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2558, allocations: 0 / 1.071 GB, free: 6.934 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.895e-06/0.2558, allocations: 4 kB / 1.071 GB, free: 6.93 MB / 0.8262 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.001185/0.257, allocations: 0.8137 MB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.257, allocations: 8.031 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.413e-05/0.2571, allocations: 74.66 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.712e-05/0.2572, allocations: 56.28 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000712/0.2579, allocations: 0.4982 MB / 1.073 GB, free: 5.387 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2579, allocations: 25.03 kB / 1.073 GB, free: 5.363 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.572e-05/0.258, allocations: 28.38 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005968/0.2586, allocations: 382.9 kB / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.2586, allocations: 0 / 1.073 GB, free: 4.93 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.821e-05/0.2586, allocations: 12 kB / 1.073 GB, free: 4.918 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.2587, allocations: 4 kB / 1.073 GB, free: 4.914 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005581/0.2592, allocations: 254 kB / 1.073 GB, free: 4.664 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001508/0.2607, allocations: 1.432 MB / 1.075 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006479/0.2614, allocations: 270.8 kB / 1.075 GB, free: 2.887 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002699/0.2617, allocations: 138.2 kB / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.2617, allocations: 0 / 1.075 GB, free: 2.75 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.2617, allocations: 34.56 kB / 1.075 GB, free: 2.707 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 9.62e-07/0.2617, allocations: 4 kB / 1.075 GB, free: 2.703 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008237/0.2626, allocations: 363.2 kB / 1.075 GB, free: 2.344 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.699e-05/0.2626, allocations: 55.41 kB / 1.075 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004295/0.263, allocations: 413.9 kB / 1.076 GB, free: 1.863 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.436e-05/0.2631, allocations: 37.7 kB / 1.076 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001853/0.2633, allocations: 260 kB / 1.076 GB, free: 1.562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 7.015e-05/0.2633, allocations: 82.77 kB / 1.076 GB, free: 1.48 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.324e-05/0.2634, allocations: 53.97 kB / 1.076 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.2636, allocations: 350.8 kB / 1.077 GB, free: 1.066 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002409/0.2638, allocations: 96.5 kB / 1.077 GB, free: 0.9727 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002784/0.2641, allocations: 164.7 kB / 1.077 GB, free: 0.7852 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005146/0.2646, allocations: 268.7 kB / 1.077 GB, free: 0.4961 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2647, allocations: 3.938 kB / 1.077 GB, free: 0.4922 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006271/0.2653, allocations: 338.7 kB / 1.077 GB, free: 160 kB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.758e-05/0.2653, allocations: 4.25 kB / 1.077 GB, free: 156 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2653, allocations: 8 kB / 1.077 GB, free: 148 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.397e-05/0.2653, allocations: 4 kB / 1.077 GB, free: 144 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002642/0.2656, allocations: 63.89 kB / 1.077 GB, free: 80 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.826e-06/0.2656, allocations: 4 kB / 1.077 GB, free: 76 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001745/0.2658, allocations: 31.77 kB / 1.078 GB, free: 44 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.802e-05/0.2658, allocations: 8 kB / 1.078 GB, free: 36 kB / 0.8262 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.0001845/0.266, allocations: 177.7 kB / 1.078 GB, free: 15.85 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.538e-05/0.2661, allocations: 47.44 kB / 1.078 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.367e-05/0.2662, allocations: 47.97 kB / 1.078 GB, free: 15.76 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.2662, allocations: 4 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.2662, allocations: 0 / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.055e-06/0.2662, allocations: 7.922 kB / 1.078 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004511/0.2667, allocations: 441.1 kB / 1.078 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.076e-06/0.2667, allocations: 4 kB / 1.078 GB, free: 15.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002465/0.2669, allocations: 47.91 kB / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.807e-06/0.2669, allocations: 0 / 1.078 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.003e-05/0.267, allocations: 19.92 kB / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.267, allocations: 0 / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.91e-07/0.267, allocations: 0 / 1.078 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008698/0.2679, allocations: 0.4922 MB / 1.079 GB, free: 14.69 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001306/0.268, allocations: 140.5 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.333e-05/0.268, allocations: 11.98 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.2682, allocations: 11.98 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.2683, allocations: 15.92 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.401e-05/0.2683, allocations: 8 kB / 1.079 GB, free: 14.48 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002963/0.2686, allocations: 291.1 kB / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2686, allocations: 0 / 1.079 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002953/0.2689, allocations: 71.78 kB / 1.079 GB, free: 14.13 MB / 0.8419 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.001142/0.27, allocations: 1.042 MB / 1.08 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005702/0.2706, allocations: 253.1 kB / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.2706, allocations: 0 / 1.081 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002515/0.2709, allocations: 124.4 kB / 1.081 GB, free: 12.7 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006201/0.2715, allocations: 126.5 kB / 1.081 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004456/0.276, allocations: 3.544 MB / 1.084 GB, free: 8.891 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004014/0.2764, allocations: 0.8155 MB / 1.085 GB, free: 8.047 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001842/0.2766, allocations: 47.25 kB / 1.085 GB, free: 8.004 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.2768, allocations: 159.3 kB / 1.085 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.2768, allocations: 0 / 1.085 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.426/2.703, allocations: 7.895 MB / 1.093 GB, free: 156 kB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.445/12.15, allocations: 11 kB / 1.093 GB, free: 148 kB / 0.8419 GB (rm -f Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_11_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)