Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.005364/0.005364, allocations: 103.8 kB / 15.73 MB, free: 6.039 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.001191/0.001191, allocations: 194.2 kB / 16.67 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.278/1.278, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.186/2.186, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001109/0.001109, allocations: 56.59 kB / 0.9504 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.2434, allocations: 140.4 MB / 1.087 GB, free: 2.004 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003912/0.2474, allocations: 3.103 MB / 1.09 GB, free: 14.88 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001614/0.249, allocations: 1.095 MB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.2493, allocations: 19.88 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0002231/0.2495, allocations: 95.11 kB / 1.092 GB, free: 13.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002037/0.2497, allocations: 103 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.000612/0.2503, allocations: 340.5 kB / 1.092 GB, free: 13.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0005477/0.2509, allocations: 0.6364 MB / 1.093 GB, free: 12.6 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000335/0.2512, allocations: 260.7 kB / 1.093 GB, free: 12.35 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002256/0.2515, allocations: 219 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002132/0.2517, allocations: 210.8 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 6.387e-05/0.2517, allocations: 52 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 5.551e-05/0.2518, allocations: 52 kB / 1.093 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.069e-05/0.2519, allocations: 111.5 kB / 1.094 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001727/0.2521, allocations: 242.7 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005389/0.2526, allocations: 0.6858 MB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.2526, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.392e-06/0.2526, allocations: 4 kB / 1.094 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.17e-05/0.2527, allocations: 0 / 1.094 GB, free: 10.79 MB / 0.8575 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.001189/0.2539, allocations: 0.8292 MB / 1.095 GB, free: 9.902 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.393e-05/0.2539, allocations: 8.031 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.791e-05/0.254, allocations: 66.73 kB / 1.095 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.683e-05/0.254, allocations: 56.28 kB / 1.095 GB, free: 9.766 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007718/0.2548, allocations: 0.5099 MB / 1.096 GB, free: 9.215 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.2549, allocations: 25.03 kB / 1.096 GB, free: 9.191 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.005e-05/0.2549, allocations: 28.38 kB / 1.096 GB, free: 9.164 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.2555, allocations: 374.9 kB / 1.096 GB, free: 8.766 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.175e-05/0.2556, allocations: 4 kB / 1.096 GB, free: 8.762 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.044e-05/0.2556, allocations: 8 kB / 1.096 GB, free: 8.754 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/0.2556, allocations: 11.94 kB / 1.096 GB, free: 8.742 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005713/0.2562, allocations: 258 kB / 1.097 GB, free: 8.492 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001516/0.2577, allocations: 1.417 MB / 1.098 GB, free: 7 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000673/0.2584, allocations: 268.3 kB / 1.098 GB, free: 6.73 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002852/0.2587, allocations: 146 kB / 1.098 GB, free: 6.586 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.05e-05/0.2587, allocations: 11.92 kB / 1.098 GB, free: 6.574 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2588, allocations: 30.56 kB / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=23): time 1.253e-06/0.2588, allocations: 0 / 1.098 GB, free: 6.535 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23): time 0.000848/0.2596, allocations: 362.1 kB / 1.099 GB, free: 6.176 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.437e-05/0.2597, allocations: 55.41 kB / 1.099 GB, free: 6.109 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000412/0.2601, allocations: 413.8 kB / 1.099 GB, free: 5.695 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.2601, allocations: 33.7 kB / 1.099 GB, free: 5.656 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2603, allocations: 256.1 kB / 1.099 GB, free: 5.402 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 6.257e-05/0.2604, allocations: 78.86 kB / 1.1 GB, free: 5.324 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.428e-05/0.2604, allocations: 61.88 kB / 1.1 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000127/0.2606, allocations: 350.8 kB / 1.1 GB, free: 4.902 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002459/0.2608, allocations: 96.5 kB / 1.1 GB, free: 4.809 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002696/0.2611, allocations: 160.7 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005177/0.2616, allocations: 276 kB / 1.1 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.2616, allocations: 0 / 1.1 GB, free: 4.328 MB / 0.8575 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006253/0.2623, allocations: 341.9 kB / 1.101 GB, free: 3.988 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.2623, allocations: 8 kB / 1.101 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.2623, allocations: 0 / 1.101 GB, free: 3.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.534e-05/0.2623, allocations: 4 kB / 1.101 GB, free: 3.977 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000274/0.2626, allocations: 67.89 kB / 1.101 GB, free: 3.91 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.705e-06/0.2626, allocations: 4 kB / 1.101 GB, free: 3.906 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001787/0.2628, allocations: 32.02 kB / 1.101 GB, free: 3.875 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.833e-05/0.2628, allocations: 8 kB / 1.101 GB, free: 3.867 MB / 0.8575 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.0001719/0.263, allocations: 181 kB / 1.101 GB, free: 3.684 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.015e-05/0.2631, allocations: 43.44 kB / 1.101 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.261e-05/0.2632, allocations: 47.97 kB / 1.101 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.2632, allocations: 0 / 1.101 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.127e-06/0.2632, allocations: 0 / 1.101 GB, free: 3.594 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.612e-06/0.2632, allocations: 7.938 kB / 1.101 GB, free: 3.586 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004128/0.2636, allocations: 437.2 kB / 1.102 GB, free: 3.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.2636, allocations: 7.938 kB / 1.102 GB, free: 3.102 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002513/0.2639, allocations: 47.91 kB / 1.102 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.138e-06/0.2639, allocations: 4 kB / 1.102 GB, free: 3.051 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.934e-05/0.2639, allocations: 7.984 kB / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.2639, allocations: 0 / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.2639, allocations: 0 / 1.102 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008541/0.2648, allocations: 0.5005 MB / 1.102 GB, free: 2.527 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001222/0.2649, allocations: 144.5 kB / 1.102 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.827e-05/0.265, allocations: 4 kB / 1.102 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/0.2652, allocations: 15.98 kB / 1.102 GB, free: 2.348 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.2652, allocations: 19.97 kB / 1.102 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.2653, allocations: 12 kB / 1.102 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002753/0.2655, allocations: 287.1 kB / 1.103 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2655, allocations: 0 / 1.103 GB, free: 2.035 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003156/0.2659, allocations: 67.78 kB / 1.103 GB, free: 1.969 MB / 0.8575 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.001092/0.267, allocations: 1.038 MB / 1.104 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0005445/0.2675, allocations: 243.9 kB / 1.104 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2675, allocations: 0 / 1.104 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002394/0.2678, allocations: 122.5 kB / 1.104 GB, free: 0.5508 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000625/0.2684, allocations: 131.8 kB / 1.104 GB, free: 444 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/0.2727, allocations: 3.474 MB / 1.108 GB, free: 12.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.273, allocations: 0.8194 MB / 1.108 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001632/0.2732, allocations: 51.25 kB / 1.108 GB, free: 11.92 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002011/0.2734, allocations: 147.4 kB / 1.109 GB, free: 11.78 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.2734, allocations: 4 kB / 1.109 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5247/0.7981, allocations: 8.022 MB / 1.116 GB, free: 3.961 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.228/10.03, allocations: 6.688 kB / 1.116 GB, free: 3.957 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; mkfifo Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe ; head -c 1048576 < Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe >> ../files/Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan_res.mat --tempDir=temp_Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_9_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)