Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.ASHRAE.G36_PR1.AHUs.MultiZone.VAV.Economizers.Subsequences.Validation.Modulation_TSup,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_ASHRAE_G36_PR1_AHUs_MultiZone_VAV_Economizers_Subsequences_Validation_Modulation_TSup",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.205/2.205, allocations: 251 MB / 265.9 MB, free: 11.69 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002212/0.002213, allocations: 176.2 kB / 325.5 MB, free: 2.891 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.483/2.483, allocations: 205.4 MB / 0.5764 GB, free: 21.18 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001169/0.001169, allocations: 101 kB / 0.6809 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004782/0.0004784, allocations: 12.69 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2241/0.2246, allocations: 106.3 MB / 0.8989 GB, free: 65.8 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2298/0.4545, allocations: 132.9 MB / 1.029 GB, free: 12.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003275/0.4549, allocations: 83.88 kB / 1.029 GB, free: 12.69 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02173/0.4767, allocations: 5.06 MB / 1.034 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.645e-06/0.4767, allocations: 0 / 1.034 GB, free: 7.605 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 3.44e-05/0.4768, allocations: 12 kB / 1.034 GB, free: 7.594 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 109 * Number of variables: 109 Notification: Performance of Generate backend data structure: time 0.002053/0.4788, allocations: 0.7122 MB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.846e-05/0.4789, allocations: 12.02 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000177/0.4791, allocations: 82.52 kB / 1.034 GB, free: 6.727 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.4793, allocations: 55.39 kB / 1.035 GB, free: 6.672 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006146/0.4799, allocations: 330.3 kB / 1.035 GB, free: 6.309 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.02e-05/0.48, allocations: 41 kB / 1.035 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001184/0.4801, allocations: 51.98 kB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.4814, allocations: 426.4 kB / 1.035 GB, free: 5.793 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.159e-05/0.4814, allocations: 4 kB / 1.035 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.4815, allocations: 19.98 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.793e-05/0.4816, allocations: 12 kB / 1.035 GB, free: 5.758 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001157/0.4827, allocations: 339.8 kB / 1.036 GB, free: 5.426 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003776/0.4865, allocations: 1.285 MB / 1.037 GB, free: 4.086 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009218/0.4875, allocations: 347.7 kB / 1.037 GB, free: 3.738 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-05/0.4876, allocations: 8.359 kB / 1.037 GB, free: 3.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008619/0.4884, allocations: 314.4 kB / 1.038 GB, free: 3.398 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=49): time 7.394e-06/0.4885, allocations: 3.984 kB / 1.038 GB, free: 3.395 MB / 0.6823 GB Notification: Performance of matching and sorting (n=49): time 0.002149/0.4906, allocations: 0.6353 MB / 1.038 GB, free: 2.754 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001309/0.4908, allocations: 178.6 kB / 1.038 GB, free: 2.543 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006507/0.4915, allocations: 364.6 kB / 1.039 GB, free: 2.184 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/0.4916, allocations: 49.7 kB / 1.039 GB, free: 2.129 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002191/0.4918, allocations: 197 kB / 1.039 GB, free: 1.93 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.492, allocations: 134.2 kB / 1.039 GB, free: 1.797 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.4921, allocations: 12 kB / 1.039 GB, free: 1.785 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001824/0.4923, allocations: 362.7 kB / 1.039 GB, free: 1.422 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005691/0.4929, allocations: 157.2 kB / 1.04 GB, free: 1.27 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000691/0.4936, allocations: 301.6 kB / 1.04 GB, free: 0.9258 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006427/0.4942, allocations: 195.8 kB / 1.04 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4942, allocations: 0 / 1.04 GB, free: 0.7344 MB / 0.6823 GB Notification: Performance of matching and sorting (n=77) (initialization): time 0.001596/0.4958, allocations: 0.5373 MB / 1.041 GB, free: 196 kB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.022e-05/0.4959, allocations: 4 kB / 1.041 GB, free: 192 kB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/0.4959, allocations: 4 kB / 1.041 GB, free: 188 kB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.246e-05/0.496, allocations: 8 kB / 1.041 GB, free: 180 kB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007262/0.4967, allocations: 96.2 kB / 1.041 GB, free: 84 kB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.018e-05/0.4968, allocations: 15.88 kB / 1.041 GB, free: 68 kB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006392/0.4974, allocations: 75.41 kB / 1.041 GB, free: 15.99 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6e-05/0.4975, allocations: 23.94 kB / 1.041 GB, free: 15.97 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 48 ($PRE.modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.firstTrigger,$PRE.modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.firstTrigger,$PRE.mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.firstTrigger,$PRE.mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.firstTrigger,$whenCondition1,mod.firOrdHolOutDam.sampleTrigger,$whenCondition2,mod.firOrdHolRetDam.sampleTrigger,$whenCondition3,modFre.firOrdHolOutDam.sampleTrigger,$whenCondition4,modFre.firOrdHolRetDam.sampleTrigger,$PRE.mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.tSample,$PRE.mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.uSample,$PRE.mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.pre_uSample,$PRE.mod.firOrdHolOutDam.c,mod.firOrdHolOutDam.c,$PRE.mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.tSample,$PRE.mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.uSample,$PRE.mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.pre_uSample,$PRE.mod.firOrdHolRetDam.c,mod.firOrdHolRetDam.c,$PRE.modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.tSample,$PRE.modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.uSample,$PRE.modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.pre_uSample,$PRE.modFre.firOrdHolOutDam.c,modFre.firOrdHolOutDam.c,$PRE.modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.tSample,$PRE.modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.uSample,$PRE.modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.pre_uSample,$PRE.modFre.firOrdHolRetDam.c,modFre.firOrdHolRetDam.c) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 77 * 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.0004462/0.498, allocations: 205.7 kB / 1.041 GB, free: 15.76 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001298/0.4981, allocations: 47.42 kB / 1.041 GB, free: 15.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00177/0.4999, allocations: 0.5519 MB / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.4999, allocations: 4 kB / 1.042 GB, free: 15.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/0.5, allocations: 3.984 kB / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.696e-06/0.5, allocations: 0 / 1.042 GB, free: 15.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00312/0.5031, allocations: 1.174 MB / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.5032, allocations: 0 / 1.043 GB, free: 13.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.5037, allocations: 59.91 kB / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/0.5037, allocations: 0 / 1.043 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.667e-05/0.5038, allocations: 19.94 kB / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.858e-06/0.5038, allocations: 7.938 kB / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5038, allocations: 0 / 1.043 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001802/0.5056, allocations: 0.695 MB / 1.044 GB, free: 13.07 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002072/0.5059, allocations: 128.4 kB / 1.044 GB, free: 12.92 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001289/0.506, allocations: 19.98 kB / 1.044 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005632/0.5066, allocations: 47.95 kB / 1.044 GB, free: 12.86 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.5068, allocations: 32.36 kB / 1.044 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.893e-05/0.5068, allocations: 23.98 kB / 1.044 GB, free: 12.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0005123/0.5073, allocations: 271.2 kB / 1.044 GB, free: 12.54 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.01e-07/0.5074, allocations: 4 kB / 1.044 GB, free: 12.53 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000743/0.5081, allocations: 99.91 kB / 1.044 GB, free: 12.43 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 28 (modFre.firOrdHolRetDam.sampleTrigger,modFre.firOrdHolOutDam.sampleTrigger,mod.firOrdHolRetDam.sampleTrigger,mod.firOrdHolOutDam.sampleTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,mod.firOrdHolOutDam.firstTrigger,mod.firOrdHolOutDam.tSample,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.pre_uSample,mod.firOrdHolOutDam.c,mod.firOrdHolRetDam.firstTrigger,mod.firOrdHolRetDam.tSample,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.pre_uSample,mod.firOrdHolRetDam.c,modFre.firOrdHolOutDam.firstTrigger,modFre.firOrdHolOutDam.tSample,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.pre_uSample,modFre.firOrdHolOutDam.c,modFre.firOrdHolRetDam.firstTrigger,modFre.firOrdHolRetDam.tSample,modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.pre_uSample,modFre.firOrdHolRetDam.c) * Number of discrete states: 8 (modFre.firOrdHolRetDam.uSample,modFre.firOrdHolRetDam.c,modFre.firOrdHolOutDam.uSample,modFre.firOrdHolOutDam.c,mod.firOrdHolRetDam.uSample,mod.firOrdHolRetDam.c,mod.firOrdHolOutDam.uSample,mod.firOrdHolOutDam.c) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 20 * 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.002364/0.5105, allocations: 1.554 MB / 1.046 GB, free: 10.83 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00143/0.512, allocations: 437.5 kB / 1.046 GB, free: 10.4 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.512, allocations: 0 / 1.046 GB, free: 10.4 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0006688/0.5127, allocations: 223.3 kB / 1.046 GB, free: 10.19 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009743/0.5137, allocations: 98.56 kB / 1.046 GB, free: 10.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003323/0.517, allocations: 3.047 MB / 1.049 GB, free: 6.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004792/0.5176, allocations: 0.8253 MB / 1.05 GB, free: 6.078 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003748/0.518, allocations: 56.55 kB / 1.05 GB, free: 6.02 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003485/0.5183, allocations: 155.4 kB / 1.05 GB, free: 5.871 MB / 0.698 GB Notification: Performance of SimCode: time 1.613e-06/0.5183, allocations: 3.938 kB / 1.05 GB, free: 5.867 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6541/1.172, allocations: 8.729 MB / 1.059 GB, free: 152.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002431/1.173, allocations: 251.1 kB / 1.059 GB, free: 151.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.005/4.178, allocations: 3.75 kB / 1.059 GB, free: 151.8 MB / 0.698 GB