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.00139/0.00139, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001634/0.001634, allocations: 196.5 kB / 16.26 MB, free: 6.629 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.283/1.283, allocations: 222.9 MB / 239.9 MB, free: 4.508 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.08/2.08, allocations: 390.2 MB / 0.6644 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 71.88 kB / 0.8122 GB, free: 14.63 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4864, allocations: 140.4 MB / 0.9493 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003308/0.4897, allocations: 3.137 MB / 0.9523 GB, free: 6.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001514/0.4913, allocations: 1.062 MB / 0.9534 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003098/0.4916, allocations: 20.38 kB / 0.9534 GB, free: 5.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0002087/0.4918, allocations: 65.09 kB / 0.9534 GB, free: 5.691 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0002087/0.492, allocations: 88.28 kB / 0.9535 GB, free: 5.613 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005536/0.4926, allocations: 313.2 kB / 0.9538 GB, free: 5.383 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0004696/0.4931, allocations: 0.6341 MB / 0.9544 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003014/0.4934, allocations: 253.8 kB / 0.9547 GB, free: 4.836 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002191/0.4936, allocations: 216.2 kB / 0.9549 GB, free: 4.691 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00018/0.4938, allocations: 210.3 kB / 0.9551 GB, free: 4.527 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 7.096e-05/0.4939, allocations: 56.72 kB / 0.9551 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 6.25e-05/0.4939, allocations: 53.34 kB / 0.9552 GB, free: 4.523 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 5.78e-05/0.494, allocations: 115.6 kB / 0.9553 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001244/0.4941, allocations: 237.8 kB / 0.9555 GB, free: 4.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0003826/0.4945, allocations: 0.6634 MB / 0.9562 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.4945, allocations: 1.062 kB / 0.9562 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4945, allocations: 4 kB / 0.9562 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.097e-05/0.4945, allocations: 0 / 0.9562 GB, free: 3.688 MB / 0.7169 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.001014/0.4956, allocations: 0.8228 MB / 0.957 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.225e-05/0.4956, allocations: 10.34 kB / 0.957 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.051e-05/0.4957, allocations: 67.41 kB / 0.9571 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.487e-05/0.4957, allocations: 56.41 kB / 0.9571 GB, free: 2.891 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000567/0.4963, allocations: 0.497 MB / 0.9576 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4963, allocations: 24.84 kB / 0.9576 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.208e-05/0.4964, allocations: 28.16 kB / 0.9576 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005239/0.4969, allocations: 372.4 kB / 0.958 GB, free: 2.152 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.165e-05/0.4969, allocations: 5.062 kB / 0.958 GB, free: 2.148 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.662e-05/0.497, allocations: 19.27 kB / 0.958 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.856e-06/0.497, allocations: 7.844 kB / 0.958 GB, free: 2.133 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004969/0.4975, allocations: 250.2 kB / 0.9583 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.4986, allocations: 1.435 MB / 0.9597 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.4992, allocations: 264.9 kB / 0.9599 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002337/0.4994, allocations: 142.3 kB / 0.9601 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.731e-05/0.4995, allocations: 3.312 kB / 0.9601 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.056e-05/0.4995, allocations: 32.66 kB / 0.9601 GB, free: 492 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=23): time 1.222e-06/0.4995, allocations: 0 / 0.9601 GB, free: 492 kB / 0.7169 GB Notification: Performance of matching and sorting (n=23): time 0.0007297/0.5002, allocations: 371.5 kB / 0.9604 GB, free: 288 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.636e-05/0.5003, allocations: 54.5 kB / 0.9605 GB, free: 224 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003807/0.5006, allocations: 418.9 kB / 0.9609 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.336e-05/0.5007, allocations: 31.2 kB / 0.9609 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000159/0.5008, allocations: 257.6 kB / 0.9612 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.47e-05/0.5009, allocations: 84.88 kB / 0.9613 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.741e-05/0.501, allocations: 57.95 kB / 0.9613 GB, free: 15.57 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.5011, allocations: 351.6 kB / 0.9616 GB, free: 15.22 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002236/0.5013, allocations: 96.64 kB / 0.9617 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.5016, allocations: 163 kB / 0.9619 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004721/0.5021, allocations: 266.5 kB / 0.9621 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.5021, allocations: 5.25 kB / 0.9622 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000603/0.5027, allocations: 342.5 kB / 0.9625 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.5027, allocations: 6.125 kB / 0.9625 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/0.5027, allocations: 6.188 kB / 0.9625 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.5027, allocations: 3.469 kB / 0.9625 GB, free: 14.68 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000253/0.503, allocations: 66.89 kB / 0.9626 GB, free: 14.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.425e-06/0.503, allocations: 11.06 kB / 0.9626 GB, free: 14.65 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001811/0.5032, allocations: 38.98 kB / 0.9626 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.113e-05/0.5032, allocations: 12.83 kB / 0.9626 GB, free: 14.62 MB / 0.7325 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.0001506/0.5034, allocations: 170.2 kB / 0.9628 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.025e-05/0.5035, allocations: 43.88 kB / 0.9628 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.937e-05/0.5035, allocations: 43.52 kB / 0.9629 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.065e-06/0.5036, allocations: 2.781 kB / 0.9629 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.02e-06/0.5036, allocations: 4 kB / 0.9629 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.5036, allocations: 9.078 kB / 0.9629 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003929/0.504, allocations: 432.6 kB / 0.9633 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.504, allocations: 0 / 0.9633 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002405/0.5042, allocations: 51.39 kB / 0.9633 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.5042, allocations: 1.062 kB / 0.9633 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.863e-05/0.5043, allocations: 5.219 kB / 0.9633 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.5043, allocations: 1.125 kB / 0.9633 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.5043, allocations: 1.344 kB / 0.9634 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007965/0.5051, allocations: 0.4998 MB / 0.9638 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001104/0.5052, allocations: 140.9 kB / 0.964 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.5052, allocations: 6.438 kB / 0.964 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001793/0.5054, allocations: 17.95 kB / 0.964 GB, free: 13.52 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.032e-05/0.5055, allocations: 15.55 kB / 0.964 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.5055, allocations: 7.656 kB / 0.964 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002605/0.5058, allocations: 288 kB / 0.9643 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.5058, allocations: 0 / 0.9643 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002985/0.5061, allocations: 69.03 kB / 0.9644 GB, free: 13.31 MB / 0.7325 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.0009956/0.5071, allocations: 1.036 MB / 0.9654 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005402/0.5076, allocations: 256.4 kB / 0.9656 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.302e-06/0.5076, allocations: 3.938 kB / 0.9656 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002365/0.5079, allocations: 118.3 kB / 0.9657 GB, free: 12.29 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006318/0.5085, allocations: 133.2 kB / 0.9659 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004653/0.5132, allocations: 3.699 MB / 0.9695 GB, free: 9.531 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002869/0.5135, allocations: 0.8219 MB / 0.9703 GB, free: 8.77 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001987/0.5137, allocations: 50.69 kB / 0.9703 GB, free: 8.742 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001837/0.5139, allocations: 145.5 kB / 0.9705 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of SimCode: time 2.5e-07/0.5139, allocations: 0 / 0.9705 GB, free: 8.621 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01803/0.5319, allocations: 7.736 MB / 0.978 GB, free: 4.191 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/0.5321, allocations: 238.8 kB / 0.9782 GB, free: 3.938 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.981/2.514, allocations: 0 / 0.9782 GB, free: 3.938 MB / 0.7325 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)