Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009165/0.0009166, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.005619/0.005619, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.285/1.285, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003132/0.0003132, allocations: 11.89 kB / 0.9029 GB, free: 36.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2818, allocations: 159.6 MB / 1.059 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003346/0.2852, allocations: 2.756 MB / 1.061 GB, free: 2.039 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.2872, allocations: 1.056 MB / 1.063 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004459/0.2876, allocations: 19.88 kB / 1.063 GB, free: 0.957 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.2879, allocations: 67.45 kB / 1.063 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0003259/0.2883, allocations: 87.25 kB / 1.063 GB, free: 0.8047 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007476/0.289, allocations: 317.7 kB / 1.063 GB, free: 0.5 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0006931/0.2897, allocations: 0.5816 MB / 1.064 GB, free: 15.92 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004192/0.2902, allocations: 230.2 kB / 1.064 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002706/0.2905, allocations: 162.9 kB / 1.064 GB, free: 15.53 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002374/0.2907, allocations: 154.9 kB / 1.064 GB, free: 15.38 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 4.586e-05/0.2908, allocations: 8 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 3.903e-05/0.2908, allocations: 12 kB / 1.064 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.607e-05/0.2909, allocations: 67.52 kB / 1.064 GB, free: 15.29 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001901/0.2911, allocations: 212.3 kB / 1.064 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005262/0.2916, allocations: 0.6109 MB / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2916, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.884e-06/0.2916, allocations: 0 / 1.065 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.791e-05/0.2916, allocations: 4 kB / 1.065 GB, free: 14.46 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.001208/0.2928, allocations: 0.736 MB / 1.066 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.277e-05/0.2929, allocations: 8.031 kB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001039/0.293, allocations: 66.72 kB / 1.066 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001051/0.2931, allocations: 64.19 kB / 1.066 GB, free: 13.53 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007704/0.2939, allocations: 0.5022 MB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.2939, allocations: 21.03 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.381e-05/0.294, allocations: 40.3 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006534/0.2947, allocations: 375 kB / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2947, allocations: 0 / 1.067 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.233e-05/0.2947, allocations: 16 kB / 1.067 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.2947, allocations: 8 kB / 1.067 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006102/0.2954, allocations: 262 kB / 1.067 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001633/0.297, allocations: 1.444 MB / 1.068 GB, free: 10.73 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006761/0.2977, allocations: 268.5 kB / 1.069 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003045/0.298, allocations: 140.8 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.87e-05/0.298, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.407e-05/0.2981, allocations: 38.56 kB / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=23): time 1.873e-06/0.2981, allocations: 0 / 1.069 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23): time 0.0008894/0.299, allocations: 382.2 kB / 1.069 GB, free: 9.891 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.498e-05/0.299, allocations: 55.41 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000448/0.2995, allocations: 417.9 kB / 1.07 GB, free: 9.402 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.318e-05/0.2995, allocations: 29.7 kB / 1.07 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001771/0.2997, allocations: 260.1 kB / 1.07 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 6.192e-05/0.2998, allocations: 86.69 kB / 1.07 GB, free: 9.023 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/0.2998, allocations: 37.64 kB / 1.07 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001275/0.2999, allocations: 354.8 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002525/0.3002, allocations: 96.52 kB / 1.07 GB, free: 8.527 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002797/0.3005, allocations: 172.7 kB / 1.071 GB, free: 8.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005341/0.301, allocations: 281.5 kB / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.866e-06/0.301, allocations: 0 / 1.071 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006666/0.3017, allocations: 353.4 kB / 1.071 GB, free: 7.68 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.3017, allocations: 8 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.3018, allocations: 0 / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.3018, allocations: 4.25 kB / 1.071 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002812/0.3021, allocations: 67.91 kB / 1.071 GB, free: 7.602 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.228e-05/0.3021, allocations: 7.984 kB / 1.071 GB, free: 7.594 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.3023, allocations: 35.77 kB / 1.071 GB, free: 7.559 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3023, allocations: 11.98 kB / 1.071 GB, free: 7.547 MB / 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.0001869/0.3025, allocations: 170.7 kB / 1.072 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.652e-05/0.3026, allocations: 47.44 kB / 1.072 GB, free: 7.324 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.601e-05/0.3027, allocations: 47.97 kB / 1.072 GB, free: 7.277 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.369e-06/0.3027, allocations: 4 kB / 1.072 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.3027, allocations: 0 / 1.072 GB, free: 7.273 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3027, allocations: 3.938 kB / 1.072 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004304/0.3032, allocations: 433.2 kB / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3032, allocations: 0 / 1.072 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002571/0.3034, allocations: 51.89 kB / 1.072 GB, free: 6.746 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.668e-06/0.3034, allocations: 8 kB / 1.072 GB, free: 6.738 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.3035, allocations: 4 kB / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3035, allocations: 0 / 1.072 GB, free: 6.734 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.3035, allocations: 4 kB / 1.072 GB, free: 6.73 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009063/0.3044, allocations: 0.5169 MB / 1.073 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001207/0.3045, allocations: 140.5 kB / 1.073 GB, free: 6.043 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.593e-05/0.3046, allocations: 8 kB / 1.073 GB, free: 6.035 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001919/0.3048, allocations: 24.05 kB / 1.073 GB, free: 6.012 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.166e-05/0.3048, allocations: 19.91 kB / 1.073 GB, free: 5.992 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.3049, allocations: 11.94 kB / 1.073 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0003017/0.3052, allocations: 287.1 kB / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.302e-06/0.3052, allocations: 0 / 1.073 GB, free: 5.703 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003148/0.3055, allocations: 71.72 kB / 1.073 GB, free: 5.633 MB / 0.8262 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.001162/0.3067, allocations: 1.063 MB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0005677/0.3072, allocations: 251.9 kB / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.3073, allocations: 0 / 1.074 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002601/0.3075, allocations: 126.8 kB / 1.075 GB, free: 4.18 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007156/0.3082, allocations: 119.5 kB / 1.075 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005316/0.3136, allocations: 3.751 MB / 1.078 GB, free: 172 kB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000376/0.314, allocations: 0.8191 MB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0002258/0.3142, allocations: 47.25 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001989/0.3144, allocations: 151.4 kB / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of SimCode: time 6.02e-07/0.3144, allocations: 0 / 1.079 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01878/0.3332, allocations: 7.458 MB / 1.087 GB, free: 7.938 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/0.3335, allocations: 240.3 kB / 1.087 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.838/2.172, allocations: 5.969 kB / 1.087 GB, free: 7.68 MB / 0.8419 GB (rm -f Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_latest_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)