Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothBlocks.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothBlocks") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.179/5.179, allocations: 0.5623 GB / 0.5776 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00251/0.00251, allocations: 354.8 kB / 0.6447 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.434/4.434, allocations: 410.7 MB / 1.113 GB, free: 5.969 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001898/0.001898, allocations: 184.4 kB / 1.226 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007861/0.0007864, allocations: 12 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7463/0.7471, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothBlocks): time 0.002168/0.7493, allocations: 1.449 MB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.7506, allocations: 0.6323 MB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.482e-05/0.7507, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 3.003e-05/0.7507, allocations: 8.828 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.042e-05/0.7508, allocations: 12.72 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006878/0.7515, allocations: 159.7 kB / 1.464 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001425/0.7517, allocations: 103.7 kB / 1.464 GB, free: 282 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.7518, allocations: 32.41 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001203/0.752, allocations: 45.42 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 8.806e-05/0.7521, allocations: 43.77 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.589e-05/0.7521, allocations: 4 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001368/0.7522, allocations: 39.97 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.7523, allocations: 23.84 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.158e-05/0.7523, allocations: 38.42 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.7525, allocations: 101.9 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7525, allocations: 0.5938 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.003e-06/0.7525, allocations: 1.781 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.7525, allocations: 0 / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006247/0.7532, allocations: 417 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/0.7532, allocations: 11.62 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001362/0.7546, allocations: 141.4 kB / 1.465 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.7548, allocations: 178.9 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001143/0.7549, allocations: 68.09 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.378e-05/0.7549, allocations: 8.5 kB / 1.465 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008301/0.7558, allocations: 190.9 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.523e-05/0.7558, allocations: 0 / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.7558, allocations: 8 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.7559, allocations: 3.953 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001094/0.757, allocations: 202.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001634/0.7586, allocations: 0.4933 MB / 1.466 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001829/0.7605, allocations: 270 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005468/0.7611, allocations: 102.7 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.178e-05/0.7611, allocations: 4.969 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.7611, allocations: 30.56 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=6): time 3.898e-06/0.7612, allocations: 3.766 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6): time 0.001767/0.7629, allocations: 308.9 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.414e-05/0.763, allocations: 61.38 kB / 1.466 GB, free: 279.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001193/0.7631, allocations: 137.2 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.7631, allocations: 33.64 kB / 1.467 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.636e-05/0.7632, allocations: 108.8 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.166e-05/0.7633, allocations: 15.72 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.494e-05/0.7633, allocations: 4.875 kB / 1.467 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.325e-05/0.7634, allocations: 318.8 kB / 1.467 GB, free: 278.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000613/0.764, allocations: 100.3 kB / 1.467 GB, free: 278.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006556/0.7646, allocations: 115.2 kB / 1.467 GB, free: 278.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005382/0.7652, allocations: 95.17 kB / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.7652, allocations: 0 / 1.467 GB, free: 278.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.001175/0.7664, allocations: 232.4 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.7664, allocations: 4 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.7665, allocations: 3.984 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.004e-05/0.7665, allocations: 4.75 kB / 1.467 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00046/0.767, allocations: 46.45 kB / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.767, allocations: 0 / 1.468 GB, free: 277.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000344/0.7673, allocations: 38.39 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.118e-05/0.7674, allocations: 7.938 kB / 1.468 GB, free: 277.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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.0001203/0.7675, allocations: 121.8 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.334e-05/0.7676, allocations: 9.469 kB / 1.468 GB, free: 277.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/0.7688, allocations: 241.7 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.7689, allocations: 4 kB / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7689, allocations: 0 / 1.468 GB, free: 277.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.164e-05/0.7689, allocations: 81.02 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.369e-05/0.769, allocations: 13.33 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005397/0.7695, allocations: 41.58 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.372e-05/0.7696, allocations: 6.562 kB / 1.468 GB, free: 277.3 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00144/0.771, allocations: 329.9 kB / 1.468 GB, free: 277 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.001201/0.7722, allocations: 401.8 kB / 1.469 GB, free: 276.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005433/0.7728, allocations: 94.8 kB / 1.469 GB, free: 276.5 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.509e-05/0.7729, allocations: 107.2 kB / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of Backend: time 9.42e-07/0.7729, allocations: 0 / 1.469 GB, free: 276.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001056/0.774, allocations: 199 kB / 1.469 GB, free: 276.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0006238/0.7746, allocations: 0.678 MB / 1.47 GB, free: 275.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.006112/0.7807, allocations: 2.044 MB / 1.472 GB, free: 273.5 MB / 0.8542 GB