Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Continuous.Examples.OffTimer.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.Continuous.Examples.OffTimer,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Continuous_Examples_OffTimer",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.042/4.042, allocations: 433.2 MB / 440.7 MB, free: 4.539 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.002e-05/2.005e-05, allocations: 3.156 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2017/0.2018, allocations: 98.75 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2272/0.4291, allocations: 124.5 MB / 0.7505 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/0.4294, allocations: 75.95 kB / 0.7505 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004149/0.4336, allocations: 1.06 MB / 0.7516 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.733e-06/0.4336, allocations: 0 / 0.7516 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.4336, allocations: 4 kB / 0.7516 GB, free: 11.28 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004502/0.4341, allocations: 342.5 kB / 0.7519 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.4341, allocations: 12.03 kB / 0.7519 GB, free: 10.89 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.4342, allocations: 7.859 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.4343, allocations: 179 kB / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4344, allocations: 0 / 0.7521 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.4344, allocations: 4 kB / 0.7521 GB, free: 10.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.487e-05/0.4345, allocations: 23.94 kB / 0.7521 GB, free: 10.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001125/0.4346, allocations: 49.69 kB / 0.7522 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.4346, allocations: 0 / 0.7522 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.4347, allocations: 3.984 kB / 0.7522 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.4347, allocations: 0 / 0.7522 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.4353, allocations: 289.2 kB / 0.7525 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.4354, allocations: 50.56 kB / 0.7525 GB, free: 10.2 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.548e-05/0.4355, allocations: 25.06 kB / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.236e-05/0.4355, allocations: 0 / 0.7525 GB, free: 10.17 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001603/0.4357, allocations: 75.42 kB / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.094e-06/0.4357, allocations: 0 / 0.7526 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0002199/0.4359, allocations: 73.64 kB / 0.7527 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.436, allocations: 55.41 kB / 0.7527 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.387e-05/0.4361, allocations: 100.8 kB / 0.7528 GB, free: 9.836 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.4361, allocations: 33.64 kB / 0.7528 GB, free: 9.797 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.4362, allocations: 88.12 kB / 0.7529 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.211e-05/0.4362, allocations: 23.72 kB / 0.753 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.372e-06/0.4362, allocations: 0 / 0.753 GB, free: 9.684 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001106/0.4363, allocations: 318.8 kB / 0.7533 GB, free: 9.363 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.552e-05/0.4364, allocations: 12 kB / 0.7533 GB, free: 9.352 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.605e-05/0.4365, allocations: 39.44 kB / 0.7533 GB, free: 9.301 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.791e-05/0.4366, allocations: 15.98 kB / 0.7533 GB, free: 9.285 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.117e-06/0.4366, allocations: 8 kB / 0.7533 GB, free: 9.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001859/0.4368, allocations: 77.62 kB / 0.7534 GB, free: 9.195 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4368, allocations: 7.984 kB / 0.7534 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.54e-06/0.4368, allocations: 96 / 0.7534 GB, free: 9.188 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4368, allocations: 7.938 kB / 0.7534 GB, free: 9.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.9e-05/0.4369, allocations: 11.94 kB / 0.7534 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.437, allocations: 3.953 kB / 0.7534 GB, free: 9.164 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001017/0.4371, allocations: 15.89 kB / 0.7534 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.407e-05/0.4371, allocations: 4 kB / 0.7535 GB, free: 9.145 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$whenCondition3,$whenCondition2,$PRE.booleanPulse.pulsStart,booleanPulse.pulsStart,not1.y,$PRE.offTim1.entryTime,offTim1.entryTime,$PRE.offTim2.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 8.352e-05/0.4372, allocations: 105 kB / 0.7536 GB, free: 9.035 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001568/0.4374, allocations: 77.62 kB / 0.7536 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.693e-05/0.4374, allocations: 7.906 kB / 0.7536 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.429e-05/0.4374, allocations: 8.359 kB / 0.7536 GB, free: 8.938 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.436e-06/0.4375, allocations: 4 kB / 0.7536 GB, free: 8.934 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4375, allocations: 4.062 kB / 0.7537 GB, free: 8.93 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.8e-06/0.4375, allocations: 3.984 kB / 0.7537 GB, free: 8.926 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004783/0.438, allocations: 331 kB / 0.754 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.438, allocations: 0 / 0.754 GB, free: 8.559 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.437e-05/0.4381, allocations: 7.984 kB / 0.754 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.4381, allocations: 3.953 kB / 0.754 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.263e-05/0.4381, allocations: 0 / 0.754 GB, free: 8.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.4381, allocations: 3.938 kB / 0.754 GB, free: 8.543 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.4381, allocations: 4.219 kB / 0.754 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002004/0.4383, allocations: 175.5 kB / 0.7542 GB, free: 8.352 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.279e-05/0.4384, allocations: 85.08 kB / 0.7542 GB, free: 8.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.4384, allocations: 3.953 kB / 0.7542 GB, free: 8.246 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001342/0.4386, allocations: 12.22 kB / 0.7543 GB, free: 8.234 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.43e-05/0.4386, allocations: 11.98 kB / 0.7543 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.675e-06/0.4386, allocations: 0 / 0.7543 GB, free: 8.223 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.4387, allocations: 87.2 kB / 0.7543 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/0.4387, allocations: 0 / 0.7543 GB, free: 8.137 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002988/0.439, allocations: 12 kB / 0.7544 GB, free: 8.125 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (not1.y,$whenCondition3,$whenCondition2,$whenCondition1,booleanPulse.pulsStart,offTim1.entryTime,offTim2.entryTime) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004659/0.4395, allocations: 0.713 MB / 0.7551 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.4397, allocations: 39.94 kB / 0.7551 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4397, allocations: 0 / 0.7551 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.101e-05/0.4398, allocations: 20 kB / 0.7551 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000275/0.44, allocations: 20 kB / 0.7551 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007209/0.4408, allocations: 141.2 kB / 0.7553 GB, free: 7.129 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.4411, allocations: 0.6885 MB / 0.7559 GB, free: 6.414 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.072e-05/0.4411, allocations: 4 kB / 0.7559 GB, free: 6.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.4412, allocations: 23.42 kB / 0.756 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of SimCode: time 9.52e-07/0.4412, allocations: 0 / 0.756 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.037/0.4782, allocations: 1.164 MB / 0.7571 GB, free: 5.234 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002592/0.4786, allocations: 135 kB / 0.7572 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.432/2.91, allocations: 4 kB / 0.7572 GB, free: 5.043 MB / 0.6355 GB