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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001146/0.001146, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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: 192.4 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.26/1.26, allocations: 205.1 MB / 222.1 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.571/1.571, allocations: 292.3 MB / 0.5486 GB, free: 13.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001237, allocations: 66.98 kB / 0.6711 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.209, allocations: 114.5 MB / 0.783 GB, free: 13.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Air.Systems.SingleZone.VAV.BaseClasses.Validation.ControllerHeatingFan): time 0.003885/0.2129, allocations: 3.151 MB / 0.7861 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001586/0.2145, allocations: 1.104 MB / 0.7871 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002016/0.2148, allocations: 19.88 kB / 0.7872 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002191/0.215, allocations: 71.39 kB / 0.7872 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001933/0.2152, allocations: 79.36 kB / 0.7873 GB, free: 9.328 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000597/0.2158, allocations: 315 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0005237/0.2163, allocations: 0.6441 MB / 0.7882 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.2167, allocations: 246.1 kB / 0.7885 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002157/0.2169, allocations: 219 kB / 0.7887 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001971/0.2171, allocations: 214.8 kB / 0.7889 GB, free: 7.703 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.754e-05/0.2172, allocations: 60 kB / 0.7889 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.71e-05/0.2172, allocations: 52 kB / 0.789 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.444e-05/0.2173, allocations: 107.6 kB / 0.7891 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001627/0.2175, allocations: 238.6 kB / 0.7893 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.000488/0.218, allocations: 0.6619 MB / 0.79 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.218, allocations: 0 / 0.79 GB, free: 6.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.303e-06/0.218, allocations: 3.938 kB / 0.79 GB, free: 6.586 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.218, allocations: 0 / 0.79 GB, free: 6.586 MB / 0.6075 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.001148/0.2192, allocations: 0.8254 MB / 0.7908 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.2192, allocations: 8.031 kB / 0.7908 GB, free: 5.703 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.2193, allocations: 70.66 kB / 0.7909 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.314e-05/0.2194, allocations: 60.19 kB / 0.7909 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006737/0.2201, allocations: 0.5022 MB / 0.7914 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.2201, allocations: 25.03 kB / 0.7914 GB, free: 5 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.762e-05/0.2201, allocations: 28.38 kB / 0.7915 GB, free: 4.973 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000576/0.2207, allocations: 370.9 kB / 0.7918 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.2207, allocations: 4 kB / 0.7918 GB, free: 4.574 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.889e-05/0.2208, allocations: 12 kB / 0.7918 GB, free: 4.562 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.2208, allocations: 8 kB / 0.7918 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005302/0.2213, allocations: 254 kB / 0.7921 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001398/0.2227, allocations: 1.432 MB / 0.7935 GB, free: 2.801 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006214/0.2234, allocations: 273.7 kB / 0.7937 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002582/0.2236, allocations: 132.8 kB / 0.7939 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.878e-05/0.2237, allocations: 0 / 0.7939 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.578e-05/0.2237, allocations: 42.56 kB / 0.7939 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=23): time 1.012e-06/0.2237, allocations: 0 / 0.7939 GB, free: 2.344 MB / 0.6075 GB Notification: Performance of matching and sorting (n=23): time 0.0008138/0.2245, allocations: 360.7 kB / 0.7942 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/0.2246, allocations: 55.41 kB / 0.7943 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003814/0.225, allocations: 413.9 kB / 0.7947 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/0.225, allocations: 33.64 kB / 0.7947 GB, free: 1.465 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001693/0.2252, allocations: 268 kB / 0.795 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.252e-05/0.2252, allocations: 82.75 kB / 0.7951 GB, free: 1.113 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.917e-05/0.2253, allocations: 53.97 kB / 0.7951 GB, free: 1.055 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001239/0.2254, allocations: 354.8 kB / 0.7954 GB, free: 0.6992 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002238/0.2257, allocations: 100.5 kB / 0.7955 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002567/0.2259, allocations: 152.8 kB / 0.7957 GB, free: 436 kB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004645/0.2264, allocations: 270.4 kB / 0.7959 GB, free: 140 kB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2264, allocations: 4 kB / 0.7959 GB, free: 136 kB / 0.6075 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0006209/0.227, allocations: 343.2 kB / 0.7963 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.2271, allocations: 7.125 kB / 0.7963 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.2271, allocations: 4 kB / 0.7963 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.2271, allocations: 4 kB / 0.7963 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002575/0.2274, allocations: 59.89 kB / 0.7963 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.2274, allocations: 4 kB / 0.7964 GB, free: 15.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000179/0.2276, allocations: 39.67 kB / 0.7964 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.2276, allocations: 15.94 kB / 0.7964 GB, free: 15.66 MB / 0.6231 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.0001588/0.2278, allocations: 177.8 kB / 0.7966 GB, free: 15.48 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.95e-05/0.2278, allocations: 39.53 kB / 0.7966 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.793e-05/0.2279, allocations: 51.91 kB / 0.7967 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.809e-06/0.2279, allocations: 7.984 kB / 0.7967 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2279, allocations: 0 / 0.7967 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.2279, allocations: 3.938 kB / 0.7967 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004187/0.2284, allocations: 429.2 kB / 0.7971 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2284, allocations: 0 / 0.7971 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002553/0.2286, allocations: 51.97 kB / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.973e-06/0.2286, allocations: 0 / 0.7971 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.077e-05/0.2287, allocations: 8 kB / 0.7971 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.2287, allocations: 3.984 kB / 0.7971 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2287, allocations: 0 / 0.7971 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008667/0.2296, allocations: 0.4971 MB / 0.7976 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2297, allocations: 140.5 kB / 0.7978 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.392e-05/0.2297, allocations: 8 kB / 0.7978 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001806/0.2299, allocations: 7.984 kB / 0.7978 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.772e-05/0.23, allocations: 23.91 kB / 0.7978 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.403e-05/0.23, allocations: 4 kB / 0.7978 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002601/0.2303, allocations: 295.2 kB / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2303, allocations: 0 / 0.7981 GB, free: 13.85 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000292/0.2306, allocations: 75.62 kB / 0.7982 GB, free: 13.78 MB / 0.6231 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.00105/0.2316, allocations: 1.039 MB / 0.7992 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005707/0.2322, allocations: 256 kB / 0.7994 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.2322, allocations: 4 kB / 0.7994 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000237/0.2325, allocations: 119.9 kB / 0.7995 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000674/0.2332, allocations: 125.9 kB / 0.7997 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004689/0.2379, allocations: 3.712 MB / 0.8033 GB, free: 8.383 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003365/0.2382, allocations: 0.8192 MB / 0.8041 GB, free: 7.539 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000192/0.2384, allocations: 51.25 kB / 0.8041 GB, free: 7.492 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001914/0.2386, allocations: 147.4 kB / 0.8043 GB, free: 7.348 MB / 0.6231 GB Notification: Performance of SimCode: time 2.3e-07/0.2386, allocations: 3.938 kB / 0.8043 GB, free: 7.344 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05562/0.2942, allocations: 7.728 MB / 0.8118 GB, free: 15.85 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.2945, allocations: 242.4 kB / 0.812 GB, free: 15.59 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.811/2.106, allocations: 0 / 0.812 GB, free: 15.59 MB / 0.6387 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/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)