Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.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: translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") translateModel(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002218/0.002219, allocations: 103.3 kB / 16.27 MB, free: 5.961 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.002359/0.002359, allocations: 188.2 kB / 17.19 MB, free: 5.594 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.496/1.496, allocations: 205.1 MB / 223.1 MB, free: 12.28 MB / 190.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.927/1.927, allocations: 292.3 MB / 0.5495 GB, free: 17.52 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.002376/0.002376, allocations: 66.88 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2616, allocations: 114.6 MB / 0.784 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature): time 0.004449/0.2661, allocations: 2.587 MB / 0.7866 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001863/0.268, allocations: 0.9209 MB / 0.7875 GB, free: 312 kB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003544/0.2684, allocations: 7.938 kB / 0.7875 GB, free: 304 kB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0002658/0.2687, allocations: 63.27 kB / 0.7875 GB, free: 240 kB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002578/0.269, allocations: 67.38 kB / 0.7876 GB, free: 172 kB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.4342/0.7032, allocations: 313.7 kB / 0.7879 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0007463/0.7039, allocations: 0.5939 MB / 0.7885 GB, free: 46.05 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004176/0.7044, allocations: 292.4 kB / 0.7887 GB, free: 46.04 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002032/0.7046, allocations: 218.2 kB / 0.7889 GB, free: 46.01 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001908/0.7048, allocations: 233.8 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 7.514e-05/0.7048, allocations: 67.31 kB / 0.7892 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001324/0.705, allocations: 83.19 kB / 0.7893 GB, free: 45.95 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.997e-05/0.7051, allocations: 123 kB / 0.7894 GB, free: 45.94 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.7053, allocations: 259.1 kB / 0.7897 GB, free: 45.86 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0005225/0.7058, allocations: 0.7153 MB / 0.7904 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7058, allocations: 0 / 0.7904 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7058, allocations: 0 / 0.7904 GB, free: 45.8 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.309e-05/0.7058, allocations: 0 / 0.7904 GB, free: 45.8 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001038/0.7069, allocations: 0.7871 MB / 0.7911 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.7069, allocations: 9.594 kB / 0.7912 GB, free: 45.28 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.897e-05/0.707, allocations: 62.36 kB / 0.7912 GB, free: 45.25 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004256/0.7074, allocations: 398.9 kB / 0.7916 GB, free: 45.01 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.854e-05/0.7075, allocations: 35.5 kB / 0.7916 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.677e-05/0.7075, allocations: 43.16 kB / 0.7917 GB, free: 45 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005819/0.7081, allocations: 434.1 kB / 0.7921 GB, free: 44.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.345e-05/0.7082, allocations: 3.938 kB / 0.7921 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.514e-05/0.7082, allocations: 19.5 kB / 0.7921 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.7082, allocations: 10.94 kB / 0.7921 GB, free: 44.94 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005105/0.7087, allocations: 315.8 kB / 0.7924 GB, free: 44.93 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001625/0.7104, allocations: 1.418 MB / 0.7938 GB, free: 44.47 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005276/0.7109, allocations: 258.1 kB / 0.794 GB, free: 44.45 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.7111, allocations: 117.8 kB / 0.7942 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.618e-05/0.7111, allocations: 9.266 kB / 0.7942 GB, free: 44.44 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002894/0.7114, allocations: 202.1 kB / 0.7944 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=26): time 1.462e-06/0.7115, allocations: 3.719 kB / 0.7944 GB, free: 44.36 MB / 0.6544 GB Notification: Performance of matching and sorting (n=26): time 0.0006288/0.7121, allocations: 341.2 kB / 0.7947 GB, free: 44.3 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.7121, allocations: 132 kB / 0.7948 GB, free: 44.14 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003344/0.7125, allocations: 427.2 kB / 0.7952 GB, free: 44.02 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.7125, allocations: 33.08 kB / 0.7953 GB, free: 43.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001264/0.7127, allocations: 244.6 kB / 0.7955 GB, free: 43.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.579e-05/0.7127, allocations: 90.22 kB / 0.7956 GB, free: 43.8 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001134/0.7128, allocations: 72.64 kB / 0.7956 GB, free: 43.79 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.217e-05/0.7129, allocations: 345.6 kB / 0.796 GB, free: 43.48 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.7132, allocations: 130.8 kB / 0.7961 GB, free: 43.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.7134, allocations: 198.6 kB / 0.7963 GB, free: 43.39 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000409/0.7139, allocations: 285.1 kB / 0.7966 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.7139, allocations: 6.688 kB / 0.7966 GB, free: 43.24 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006318/0.7145, allocations: 418.5 kB / 0.797 GB, free: 43.04 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.7146, allocations: 43.53 kB / 0.797 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.7146, allocations: 3.562 kB / 0.797 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/0.7146, allocations: 0 / 0.797 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/0.7148, allocations: 63.06 kB / 0.7971 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/0.7149, allocations: 2.594 kB / 0.7971 GB, free: 43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003398/0.7152, allocations: 70.12 kB / 0.7971 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.317e-05/0.7152, allocations: 19.58 kB / 0.7972 GB, free: 42.97 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002738/0.7155, allocations: 236.5 kB / 0.7974 GB, free: 42.82 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002061/0.7157, allocations: 189.9 kB / 0.7976 GB, free: 42.7 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0003271/0.7161, allocations: 283.4 kB / 0.7978 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.744e-06/0.7161, allocations: 0.7812 kB / 0.7978 GB, free: 42.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=39) (initialization_lambda0): time 0.0005475/0.7166, allocations: 416 kB / 0.7982 GB, free: 42.32 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.7167, allocations: 37.3 kB / 0.7983 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.7167, allocations: 8.734 kB / 0.7983 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.469e-06/0.7167, allocations: 2.781 kB / 0.7983 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002004/0.7169, allocations: 51.55 kB / 0.7983 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.778e-06/0.7169, allocations: 2.781 kB / 0.7983 GB, free: 42.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000334/0.7172, allocations: 71 kB / 0.7984 GB, free: 42.26 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.514e-05/0.7173, allocations: 15.31 kB / 0.7984 GB, free: 42.26 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$whenCondition2,uEna.y,$PRE.uEna.y,$whenCondition3,conTSup.con.cheYMinMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * 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 9.782e-05/0.7174, allocations: 207.1 kB / 0.7986 GB, free: 42.07 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.227e-05/0.7174, allocations: 39.81 kB / 0.7987 GB, free: 42.04 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000545/0.718, allocations: 294.3 kB / 0.7989 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.346e-05/0.718, allocations: 3.188 kB / 0.7989 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.55e-06/0.718, allocations: 4.75 kB / 0.7989 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.718, allocations: 1.406 kB / 0.7989 GB, free: 41.92 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008742/0.7189, allocations: 0.7896 MB / 0.7997 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.7189, allocations: 0 / 0.7997 GB, free: 41.42 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002031/0.7191, allocations: 50.06 kB / 0.7998 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.7191, allocations: 0 / 0.7998 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.961e-05/0.7192, allocations: 6.688 kB / 0.7998 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.7192, allocations: 1.922 kB / 0.7998 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/0.7192, allocations: 9.422 kB / 0.7998 GB, free: 41.41 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007078/0.7199, allocations: 497.9 kB / 0.8003 GB, free: 41.12 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 6.508e-05/0.72, allocations: 125.3 kB / 0.8004 GB, free: 41 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.732e-05/0.72, allocations: 6.766 kB / 0.8004 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.7202, allocations: 20.89 kB / 0.8004 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.535e-05/0.7203, allocations: 19.42 kB / 0.8004 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.134e-05/0.7203, allocations: 13.97 kB / 0.8004 GB, free: 40.98 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002689/0.7206, allocations: 295.2 kB / 0.8007 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7206, allocations: 0 / 0.8007 GB, free: 40.83 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0004882/0.7211, allocations: 155.1 kB / 0.8009 GB, free: 40.79 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (conTSup.con.I.y) * Number of discrete variables: 4 ($whenCondition3,$whenCondition1,$whenCondition2,uEna.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (29): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001513/0.7212, allocations: 110.5 kB / 0.801 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0009444/0.7222, allocations: 0.5855 MB / 0.8015 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.7222, allocations: 1.719 kB / 0.8015 GB, free: 40.42 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.000227/0.7224, allocations: 113.2 kB / 0.8016 GB, free: 40.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004766/0.7229, allocations: 78.3 kB / 0.8017 GB, free: 40.36 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.724, allocations: 0.6887 MB / 0.8024 GB, free: 39.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.7243, allocations: 0.812 MB / 0.8032 GB, free: 39.22 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001028/0.7244, allocations: 35.58 kB / 0.8032 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of SimCode: time 3.51e-07/0.7244, allocations: 0 / 0.8032 GB, free: 39.21 MB / 0.6544 GB Notification: Performance of Templates: time 0.009855/0.7343, allocations: 5.104 MB / 0.8082 GB, free: 38.81 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.makefile (rm -f Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; mkfifo Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe >> ../files/Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.sim & ./Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.VAVReheat.Controls.Examples.SupplyAirTemperature.pipe 2>&1)