Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.IntegratorWithReset.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.IntegratorWithReset,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Continuous_Validation_IntegratorWithReset",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.68 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.001535/0.001535, allocations: 186.8 kB / 325.5 MB, free: 2.887 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.459/2.459, allocations: 205.4 MB / 0.5764 GB, free: 21.19 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.001096/0.001096, allocations: 92.36 kB / 0.6809 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004828/0.0004829, allocations: 14.91 kB / 0.7951 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2525, allocations: 106.3 MB / 0.8988 GB, free: 65.95 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2221/0.4747, allocations: 132.2 MB / 1.028 GB, free: 13.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003069/0.475, allocations: 71.95 kB / 1.028 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01117/0.4862, allocations: 2.743 MB / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.285e-06/0.4863, allocations: 0 / 1.031 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.902e-05/0.4863, allocations: 4 kB / 1.031 GB, free: 10.76 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: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.0009151/0.4873, allocations: 459.2 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.4873, allocations: 8.031 kB / 1.031 GB, free: 10.25 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.063e-05/0.4874, allocations: 42.56 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.535e-05/0.4875, allocations: 15.81 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003014/0.4878, allocations: 215.4 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.4878, allocations: 16 kB / 1.031 GB, free: 9.918 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.247e-05/0.4879, allocations: 12 kB / 1.031 GB, free: 9.906 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004781/0.4884, allocations: 149.7 kB / 1.032 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.4884, allocations: 8 kB / 1.032 GB, free: 9.73 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.679e-05/0.4884, allocations: 4 kB / 1.032 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.435e-05/0.4884, allocations: 11.98 kB / 1.032 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.4889, allocations: 75.84 kB / 1.032 GB, free: 9.641 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001461/0.4903, allocations: 0.7666 MB / 1.032 GB, free: 8.809 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002319/0.4906, allocations: 50.55 kB / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.101e-05/0.4906, allocations: 0 / 1.032 GB, free: 8.75 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.491, allocations: 126.8 kB / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=11): time 1.843e-06/0.4911, allocations: 0 / 1.033 GB, free: 8.602 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11): time 0.0007775/0.4918, allocations: 185.6 kB / 1.033 GB, free: 8.414 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.557e-05/0.4919, allocations: 136.4 kB / 1.033 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002452/0.4922, allocations: 169.5 kB / 1.033 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.781e-05/0.4923, allocations: 33.7 kB / 1.033 GB, free: 8.035 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.699e-05/0.4924, allocations: 120 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.75e-05/0.4924, allocations: 31.67 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.677e-05/0.4925, allocations: 8 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4926, allocations: 330.8 kB / 1.034 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002064/0.4928, allocations: 35.98 kB / 1.034 GB, free: 7.508 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.4931, allocations: 133.9 kB / 1.034 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.4934, allocations: 63.95 kB / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4934, allocations: 0 / 1.034 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0006331/0.494, allocations: 193.4 kB / 1.034 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.648e-05/0.4941, allocations: 9.562 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.4941, allocations: 3.984 kB / 1.034 GB, free: 7.066 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.4941, allocations: 8 kB / 1.034 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002138/0.4943, allocations: 27.98 kB / 1.034 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.54e-05/0.4944, allocations: 7.938 kB / 1.034 GB, free: 7.023 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.4946, allocations: 35.94 kB / 1.034 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.281e-05/0.4947, allocations: 12 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,intWitRes1.trigger,$whenCondition1,$whenCondition3,booleanPulse.y,$PRE.booleanPulse.pulseStart,booleanPulse.pulseStart,intDef.trigger_internal,intNoReset.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 18 * 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.0001742/0.4948, allocations: 129.7 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.063e-05/0.4949, allocations: 19.8 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.039e-05/0.495, allocations: 17.41 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.104e-06/0.495, allocations: 4 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.495, allocations: 4 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.495, allocations: 0 / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/0.4963, allocations: 0.525 MB / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.379e-06/0.4963, allocations: 0 / 1.035 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002194/0.4965, allocations: 15.98 kB / 1.035 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.09e-05/0.4966, allocations: 4 kB / 1.035 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.247e-05/0.4966, allocations: 0 / 1.035 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-05/0.4966, allocations: 15.88 kB / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.4966, allocations: 0 / 1.035 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008552/0.4975, allocations: 417.2 kB / 1.035 GB, free: 5.734 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.979e-05/0.4976, allocations: 93.23 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.479e-05/0.4976, allocations: 0 / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002735/0.4979, allocations: 20.03 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.462e-05/0.498, allocations: 27.91 kB / 1.035 GB, free: 5.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.498, allocations: 4 kB / 1.035 GB, free: 5.574 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001722/0.4982, allocations: 131.2 kB / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4e-07/0.4982, allocations: 0 / 1.035 GB, free: 5.445 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004471/0.4987, allocations: 24 kB / 1.035 GB, free: 5.422 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (intWitRes2.y,intWitRes1.y,intNoReset.y,intDef.y) * Number of discrete variables: 6 (booleanPulse.y,$whenCondition3,$whenCondition1,booleanPulse.pulseStart,intWitRes1.trigger,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.001325/0.5, allocations: 1.151 MB / 1.037 GB, free: 4.227 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005481/0.5006, allocations: 112 kB / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.5006, allocations: 0 / 1.037 GB, free: 4.117 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002637/0.5009, allocations: 55.91 kB / 1.037 GB, free: 4.062 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005829/0.5015, allocations: 57.25 kB / 1.037 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00363/0.5052, allocations: 3.002 MB / 1.04 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003598/0.5056, allocations: 0.7244 MB / 1.04 GB, free: 132 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0001184/0.5057, allocations: 13.42 kB / 1.04 GB, free: 120 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001213/0.5058, allocations: 51.41 kB / 1.04 GB, free: 68 kB / 0.6823 GB Notification: Performance of SimCode: time 3.977e-06/0.5059, allocations: 4 kB / 1.04 GB, free: 64 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02429/0.5302, allocations: 3.111 MB / 1.044 GB, free: 13.14 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000382/0.5306, allocations: 205.5 kB / 1.044 GB, free: 12.89 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.554/3.084, allocations: 8 kB / 1.044 GB, free: 12.89 MB / 0.698 GB