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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) Running command: "" <> buildModelFMU(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan,fileNamePrefix="Buildings_8_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_8_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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.767/1.767, allocations: 289.7 MB / 302.2 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001096/0.001096, allocations: 182.1 kB / 371.6 MB, free: 3.418 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.557/1.557, allocations: 205.2 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009204/0.0009205, allocations: 88.44 kB / 0.745 GB, free: 54.5 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.89e-05/3.893e-05, allocations: 4 kB / 0.8664 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2958, allocations: 116.3 MB / 0.9799 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.943/1.239, allocations: 144.4 MB / 1.121 GB, free: 40.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/1.239, allocations: 98.27 kB / 1.121 GB, free: 40.59 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02226/1.262, allocations: 8.821 MB / 1.13 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.024e-06/1.262, allocations: 0 / 1.13 GB, free: 36.03 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.138e-05/1.262, allocations: 16 kB / 1.13 GB, free: 36.02 MB / 0.7448 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.00131/1.263, allocations: 0.6688 MB / 1.13 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.732e-05/1.263, allocations: 8.031 kB / 1.13 GB, free: 35.39 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001413/1.263, allocations: 68.75 kB / 1.13 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001867/1.263, allocations: 59.34 kB / 1.13 GB, free: 35.28 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008548/1.264, allocations: 476.8 kB / 1.131 GB, free: 34.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.688e-05/1.264, allocations: 20.47 kB / 1.131 GB, free: 34.9 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.185e-05/1.264, allocations: 35.31 kB / 1.131 GB, free: 34.88 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006141/1.265, allocations: 383.8 kB / 1.131 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.821e-05/1.265, allocations: 5.406 kB / 1.131 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.98e-05/1.265, allocations: 14.75 kB / 1.131 GB, free: 34.61 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.065e-05/1.265, allocations: 8 kB / 1.131 GB, free: 34.6 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004284/1.266, allocations: 239.4 kB / 1.132 GB, free: 34.46 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/1.268, allocations: 1.556 MB / 1.133 GB, free: 33.33 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005768/1.268, allocations: 271.5 kB / 1.133 GB, free: 33.17 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001912/1.268, allocations: 117.3 kB / 1.133 GB, free: 33.11 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.592e-05/1.269, allocations: 8 kB / 1.133 GB, free: 33.1 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.957e-05/1.269, allocations: 37.98 kB / 1.133 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=23): time 2.104e-06/1.269, allocations: 0 / 1.133 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of matching and sorting (n=23): time 0.0005474/1.269, allocations: 260.8 kB / 1.134 GB, free: 32.88 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.596e-05/1.269, allocations: 163.4 kB / 1.134 GB, free: 32.68 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004634/1.27, allocations: 370.6 kB / 1.134 GB, free: 32.42 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.244e-05/1.27, allocations: 29.39 kB / 1.134 GB, free: 32.39 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001683/1.27, allocations: 257.3 kB / 1.135 GB, free: 32.24 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.232e-05/1.27, allocations: 81.45 kB / 1.135 GB, free: 32.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.784e-05/1.27, allocations: 7 kB / 1.135 GB, free: 32.17 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.27, allocations: 352.2 kB / 1.135 GB, free: 31.85 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001531/1.27, allocations: 85.19 kB / 1.135 GB, free: 31.8 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002349/1.271, allocations: 181.2 kB / 1.135 GB, free: 31.65 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001917/1.271, allocations: 106.4 kB / 1.135 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.105e-06/1.271, allocations: 0 / 1.135 GB, free: 31.6 MB / 0.7448 GB Notification: Performance of matching and sorting (n=31) (initialization): time 0.0005416/1.271, allocations: 314.4 kB / 1.136 GB, free: 31.39 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/1.271, allocations: 8 kB / 1.136 GB, free: 31.38 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.725e-06/1.271, allocations: 1.219 kB / 1.136 GB, free: 31.38 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.408e-05/1.271, allocations: 7.953 kB / 1.136 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003092/1.272, allocations: 70.02 kB / 1.136 GB, free: 31.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/1.272, allocations: 9 kB / 1.136 GB, free: 31.31 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003029/1.272, allocations: 50.45 kB / 1.136 GB, free: 31.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.17e-05/1.272, allocations: 16.75 kB / 1.136 GB, free: 31.26 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 2 (conHeaFan.conFan.I.trigger_internal,conHeaFan.conHeaCoi.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (31): * Single equations (assignments): 31 * 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.0001234/1.272, allocations: 120.2 kB / 1.136 GB, free: 31.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.682e-05/1.272, allocations: 43.44 kB / 1.136 GB, free: 31.1 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001242/1.272, allocations: 52.95 kB / 1.136 GB, free: 31.08 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.216e-06/1.272, allocations: 13.02 kB / 1.136 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.218e-06/1.272, allocations: 0.5625 kB / 1.136 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.054e-06/1.273, allocations: 0 / 1.136 GB, free: 31.07 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005286/1.273, allocations: 477 kB / 1.136 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/1.273, allocations: 0 / 1.136 GB, free: 30.77 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003087/1.273, allocations: 63.28 kB / 1.136 GB, free: 30.72 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/1.273, allocations: 4 kB / 1.136 GB, free: 30.72 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/1.273, allocations: 3.75 kB / 1.136 GB, free: 30.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.273, allocations: 4 kB / 1.136 GB, free: 30.71 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.273, allocations: 3.953 kB / 1.136 GB, free: 30.71 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006846/1.274, allocations: 498 kB / 1.137 GB, free: 30.37 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001859/1.274, allocations: 157 kB / 1.137 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.469e-05/1.274, allocations: 8 kB / 1.137 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002815/1.275, allocations: 37.19 kB / 1.137 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.764e-05/1.275, allocations: 18.84 kB / 1.137 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.986e-05/1.275, allocations: 11.42 kB / 1.137 GB, free: 30.19 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003775/1.275, allocations: 291.9 kB / 1.137 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.01e-07/1.275, allocations: 0 / 1.137 GB, free: 29.99 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003785/1.276, allocations: 86.19 kB / 1.138 GB, free: 29.91 MB / 0.7448 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 () * 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.0009806/1.277, allocations: 1.042 MB / 1.139 GB, free: 29.01 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0004452/1.277, allocations: 224.2 kB / 1.139 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/1.277, allocations: 4 kB / 1.139 GB, free: 28.88 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/1.277, allocations: 108.4 kB / 1.139 GB, free: 28.81 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006857/1.278, allocations: 117.1 kB / 1.139 GB, free: 28.75 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001543/1.28, allocations: 0.5889 MB / 1.14 GB, free: 28.26 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003763/1.28, allocations: 0.8332 MB / 1.14 GB, free: 27.46 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002796/1.28, allocations: 50.31 kB / 1.14 GB, free: 27.43 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002446/1.28, allocations: 158.7 kB / 1.141 GB, free: 27.4 MB / 0.7448 GB Notification: Performance of SimCode: time 7.41e-07/1.28, allocations: 0 / 1.141 GB, free: 27.4 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03188/1.312, allocations: 8.457 MB / 1.149 GB, free: 22.53 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002026/1.313, allocations: 188.8 kB / 1.149 GB, free: 22.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.356/3.669, allocations: 5 kB / 1.149 GB, free: 22.3 MB / 0.7448 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan_fmu --startTime=0 --stopTime=604800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Air_Systems_SingleZone_VAV_BaseClasses_Validation_ControllerHeatingFan.fmu > Buildings_8_Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan.pipe 2>&1)