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.654/2.654, allocations: 248.7 MB / 256.2 MB, free: 7.066 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 175.4 kB / 315.4 MB, free: 4.039 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.114/2.114, allocations: 205.3 MB / 0.5662 GB, free: 0.5391 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001157/0.001157, allocations: 92.08 kB / 0.6704 GB, free: 5.754 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.833e-05, allocations: 12 kB / 0.7804 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2055/0.2056, allocations: 106.3 MB / 0.8841 GB, free: 12.97 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8516/1.057, allocations: 132.4 MB / 1.013 GB, free: 6.434 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002401/1.058, allocations: 69.83 kB / 1.013 GB, free: 6.395 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0108/1.068, allocations: 2.719 MB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.645e-06/1.068, allocations: 4 kB / 1.016 GB, free: 4.07 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.244e-05/1.068, allocations: 8 kB / 1.016 GB, free: 4.062 MB / 0.6355 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.0008038/1.069, allocations: 427.4 kB / 1.017 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/1.069, allocations: 12.02 kB / 1.017 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.865e-05/1.069, allocations: 19.81 kB / 1.017 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003065/1.07, allocations: 212.8 kB / 1.017 GB, free: 3.336 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.761e-05/1.07, allocations: 7.984 kB / 1.017 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.012e-05/1.07, allocations: 8 kB / 1.017 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000157/1.07, allocations: 35.56 kB / 1.017 GB, free: 3.297 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002673/1.07, allocations: 121.1 kB / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/1.07, allocations: 0 / 1.017 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.07, allocations: 4 kB / 1.017 GB, free: 3.172 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.218e-06/1.07, allocations: 4 kB / 1.017 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001422/1.072, allocations: 0.7266 MB / 1.018 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/1.072, allocations: 29.33 kB / 1.018 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.103e-05/1.072, allocations: 29.67 kB / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.451e-05/1.072, allocations: 0 / 1.018 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002368/1.072, allocations: 103.5 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=11): time 2.224e-06/1.072, allocations: 0 / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11): time 0.0003374/1.073, allocations: 94.11 kB / 1.018 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.602e-05/1.073, allocations: 136.6 kB / 1.018 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001752/1.073, allocations: 136.6 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/1.073, allocations: 33.69 kB / 1.018 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001016/1.073, allocations: 114.5 kB / 1.018 GB, free: 1.746 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 5.098e-05/1.073, allocations: 45.77 kB / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.288e-06/1.073, allocations: 0 / 1.018 GB, free: 1.707 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001638/1.073, allocations: 329.4 kB / 1.019 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.288e-05/1.073, allocations: 18.38 kB / 1.019 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000166/1.074, allocations: 101 kB / 1.019 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/1.074, allocations: 38.3 kB / 1.019 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/1.074, allocations: 4 kB / 1.019 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003488/1.074, allocations: 135.4 kB / 1.019 GB, free: 1.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.267e-05/1.074, allocations: 11.94 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/1.074, allocations: 0.7031 kB / 1.019 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.471e-05/1.074, allocations: 11.94 kB / 1.019 GB, free: 1.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002325/1.074, allocations: 24.39 kB / 1.019 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.237e-05/1.075, allocations: 11.94 kB / 1.019 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/1.075, allocations: 27.72 kB / 1.019 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.204e-05/1.075, allocations: 4 kB / 1.019 GB, free: 1 MB / 0.6355 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 () * 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.0001213/1.075, allocations: 112.9 kB / 1.019 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.000236/1.075, allocations: 102.9 kB / 1.019 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.448e-05/1.075, allocations: 12.05 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.096e-05/1.075, allocations: 23.83 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/1.075, allocations: 7.984 kB / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.651e-06/1.075, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.67e-06/1.075, allocations: 0 / 1.019 GB, free: 0.7461 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009042/1.076, allocations: 460.4 kB / 1.02 GB, free: 292 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/1.076, allocations: 8 kB / 1.02 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002348/1.077, allocations: 19.92 kB / 1.02 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/1.077, allocations: 4 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.998e-05/1.077, allocations: 3.312 kB / 1.02 GB, free: 260 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.684e-06/1.077, allocations: 8 kB / 1.02 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.56e-06/1.077, allocations: 3.984 kB / 1.02 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004919/1.077, allocations: 343.8 kB / 1.02 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.013e-05/1.077, allocations: 92.88 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.47e-05/1.077, allocations: 7.938 kB / 1.02 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002937/1.078, allocations: 23.47 kB / 1.02 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/1.078, allocations: 11.92 kB / 1.02 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.898e-05/1.078, allocations: 7.984 kB / 1.02 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001328/1.078, allocations: 121.6 kB / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.078, allocations: 0 / 1.02 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004899/1.078, allocations: 27.94 kB / 1.02 GB, free: 15.61 MB / 0.6511 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 () * 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.001018/1.079, allocations: 1.093 MB / 1.021 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002853/1.08, allocations: 71.75 kB / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.129e-06/1.08, allocations: 0 / 1.022 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/1.08, allocations: 30.75 kB / 1.022 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005689/1.08, allocations: 39.47 kB / 1.022 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/1.082, allocations: 298.9 kB / 1.022 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004059/1.082, allocations: 0.724 MB / 1.023 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001111/1.082, allocations: 12.77 kB / 1.023 GB, free: 13.31 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000106/1.082, allocations: 45.8 kB / 1.023 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/1.082, allocations: 4 kB / 1.023 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04209/1.124, allocations: 2.529 MB / 1.025 GB, free: 10.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002978/1.125, allocations: 169.4 kB / 1.025 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.353/3.477, allocations: 3.375 kB / 1.025 GB, free: 10.59 MB / 0.6511 GB