Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.Sort.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.CDL.Continuous.Validation.Sort,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_Sort",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.161/2.161, 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.001534/0.001534, allocations: 168.6 kB / 325.5 MB, free: 2.914 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.619/2.619, allocations: 205.4 MB / 0.5764 GB, free: 20.86 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.001155/0.001155, allocations: 106.8 kB / 0.6809 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006485/0.0006486, allocations: 19.75 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2272/0.2279, allocations: 106.3 MB / 0.8988 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2275/0.4555, allocations: 131.6 MB / 1.027 GB, free: 13.67 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002894/0.4558, allocations: 75.95 kB / 1.027 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01656/0.4724, allocations: 3.611 MB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.709e-06/0.4725, allocations: 0 / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.083e-05/0.4725, allocations: 3.938 kB / 1.031 GB, free: 9.973 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.001224/0.4737, allocations: 0.4909 MB / 1.031 GB, free: 9.434 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.4738, allocations: 8.031 kB / 1.031 GB, free: 9.426 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.375e-05/0.4739, allocations: 42.55 kB / 1.032 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.763e-05/0.4739, allocations: 15.81 kB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002676/0.4742, allocations: 210.7 kB / 1.032 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.4742, allocations: 4 kB / 1.032 GB, free: 9.109 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.471e-05/0.4743, allocations: 8 kB / 1.032 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000935/0.4752, allocations: 212 kB / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.4752, allocations: 0 / 1.032 GB, free: 8.891 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.31e-05/0.4753, allocations: 4 kB / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.4753, allocations: 0 / 1.032 GB, free: 8.887 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001395/0.4767, allocations: 255.8 kB / 1.032 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001503/0.4782, allocations: 0.5128 MB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007754/0.479, allocations: 174.4 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 4.831e-05/0.4791, allocations: 80 / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/0.4791, allocations: 34.55 kB / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 4.529e-06/0.4791, allocations: 0 / 1.033 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.002501/0.4816, allocations: 0.6227 MB / 1.033 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.4817, allocations: 51.41 kB / 1.034 GB, free: 7.125 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001577/0.4819, allocations: 133.3 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.97e-05/0.4819, allocations: 25.7 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.633e-05/0.482, allocations: 120.2 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 6.657e-05/0.4821, allocations: 43.36 kB / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.51e-05/0.4821, allocations: 0 / 1.034 GB, free: 6.789 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001436/0.4823, allocations: 322.8 kB / 1.034 GB, free: 6.465 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007263/0.483, allocations: 139.8 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007271/0.4837, allocations: 143.9 kB / 1.034 GB, free: 6.188 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007238/0.4845, allocations: 143.9 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.4845, allocations: 3.953 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.00158/0.4861, allocations: 335.6 kB / 1.035 GB, free: 5.711 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.234e-05/0.4861, allocations: 8 kB / 1.035 GB, free: 5.703 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.314e-05/0.4862, allocations: 7.938 kB / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.4862, allocations: 0 / 1.035 GB, free: 5.695 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004355/0.4866, allocations: 47.95 kB / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.4867, allocations: 0 / 1.035 GB, free: 5.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/0.487, allocations: 51.95 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.649e-05/0.4871, allocations: 4 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0001589/0.4873, allocations: 125.8 kB / 1.035 GB, free: 5.461 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.92e-05/0.4873, allocations: 23.77 kB / 1.035 GB, free: 5.438 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001665/0.489, allocations: 354.2 kB / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.489, allocations: 0 / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.489, allocations: 0 / 1.035 GB, free: 5.086 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.4891, allocations: 3.984 kB / 1.035 GB, free: 5.082 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003817/0.4894, allocations: 257.4 kB / 1.036 GB, free: 4.781 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.395e-05/0.4895, allocations: 4 kB / 1.036 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004038/0.4899, allocations: 43.95 kB / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.4899, allocations: 0 / 1.036 GB, free: 4.734 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.277e-05/0.4899, allocations: 8 kB / 1.036 GB, free: 4.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.755e-06/0.4899, allocations: 4 kB / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.49, allocations: 0 / 1.036 GB, free: 4.723 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001608/0.4916, allocations: 431.1 kB / 1.036 GB, free: 4.285 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.606e-05/0.4917, allocations: 92.91 kB / 1.036 GB, free: 4.176 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.203e-05/0.4917, allocations: 4 kB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004061/0.4921, allocations: 39.95 kB / 1.036 GB, free: 4.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.495e-05/0.4922, allocations: 15.97 kB / 1.036 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.412e-05/0.4923, allocations: 4 kB / 1.036 GB, free: 4.113 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001145/0.4924, allocations: 119.2 kB / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4924, allocations: 0 / 1.036 GB, free: 3.996 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000414/0.4928, allocations: 43.84 kB / 1.037 GB, free: 3.953 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.002104/0.4949, allocations: 0.9896 MB / 1.037 GB, free: 2.938 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001605/0.4966, allocations: 371.2 kB / 1.038 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4966, allocations: 0 / 1.038 GB, free: 2.562 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0008512/0.4975, allocations: 227.2 kB / 1.038 GB, free: 2.328 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003387/0.4978, allocations: 21.64 kB / 1.038 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003717/0.5015, allocations: 1.156 MB / 1.039 GB, free: 1.102 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.502, allocations: 0.7318 MB / 1.04 GB, free: 352 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001483/0.5021, allocations: 15.97 kB / 1.04 GB, free: 336 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001132/0.5023, allocations: 39.42 kB / 1.04 GB, free: 300 kB / 0.6823 GB Notification: Performance of SimCode: time 1.042e-06/0.5023, allocations: 0 / 1.04 GB, free: 300 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02249/0.5248, allocations: 3.043 MB / 1.043 GB, free: 13.39 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002204/0.525, allocations: 181.3 kB / 1.043 GB, free: 13.16 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.588/3.113, allocations: 1.5 kB / 1.043 GB, free: 13.16 MB / 0.698 GB