Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothHeaviside.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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothHeaviside") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.059/5.059, allocations: 0.5623 GB / 0.5776 GB, free: 3.375 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.002556/0.002556, allocations: 359.9 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.472/4.472, allocations: 410.7 MB / 1.113 GB, free: 5.941 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.001905/0.001904, allocations: 205.5 kB / 1.226 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005574/0.0005576, allocations: 12 kB / 1.349 GB, free: 8.215 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8051/0.8057, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothHeaviside): time 0.001641/0.8074, allocations: 1.155 MB / 1.462 GB, free: 283.2 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0008517/0.8083, allocations: 475.7 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.874e-05/0.8084, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.508e-05/0.8084, allocations: 0 / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.354e-05/0.8085, allocations: 8.5 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001803/0.8087, allocations: 17.27 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 6.107e-05/0.8088, allocations: 23.92 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 7.923e-05/0.8089, allocations: 7.984 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 6.347e-05/0.8089, allocations: 12.64 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.012e-05/0.809, allocations: 5.312 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.809, allocations: 4 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.602e-05/0.8091, allocations: 23.91 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.726e-06/0.8091, allocations: 0 / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.427e-05/0.8092, allocations: 26.33 kB / 1.463 GB, free: 282.6 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.75e-05/0.8092, allocations: 23.95 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.8093, allocations: 0.7188 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/0.8093, allocations: 0.5938 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.068e-06/0.8093, allocations: 0 / 1.463 GB, free: 282.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004226/0.8097, allocations: 347.8 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.8098, allocations: 15.62 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.026e-05/0.8098, allocations: 4 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.815e-05/0.8099, allocations: 171.8 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.8099, allocations: 7.984 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.8099, allocations: 4.906 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002198/0.8102, allocations: 53.69 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.8102, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.8102, allocations: 0 / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.8102, allocations: 3.984 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002697/0.8105, allocations: 42.16 kB / 1.464 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.8108, allocations: 258.3 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001713/0.811, allocations: 40.25 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001406/0.8112, allocations: 31.31 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001499/0.8113, allocations: 85.09 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.854e-05/0.8114, allocations: 30.56 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.723e-06/0.8114, allocations: 0.875 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.000519/0.8119, allocations: 105.6 kB / 1.464 GB, free: 281.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.8119, allocations: 52.66 kB / 1.464 GB, free: 281.1 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.698e-05/0.812, allocations: 105.8 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.055e-05/0.812, allocations: 26.45 kB / 1.464 GB, free: 281 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.656e-05/0.8121, allocations: 88.12 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.828e-05/0.8121, allocations: 8.656 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.8121, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.614e-05/0.8122, allocations: 311.6 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001497/0.8124, allocations: 26.11 kB / 1.465 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001289/0.8125, allocations: 20.59 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001338/0.8126, allocations: 25.77 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8127, allocations: 1.625 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003083/0.813, allocations: 71.36 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.737e-05/0.813, allocations: 7.984 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.401e-06/0.813, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.813, allocations: 4.5 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001279/0.8132, allocations: 13.25 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.8132, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.033e-05/0.8133, allocations: 13.25 kB / 1.465 GB, free: 280.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.096e-06/0.8133, allocations: 0 / 1.465 GB, free: 280.4 MB / 0.8542 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 (2): * Single equations (assignments): 2 * 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 6.413e-05/0.8134, allocations: 114.7 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.921e-05/0.8134, allocations: 2.312 kB / 1.465 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000345/0.8138, allocations: 85.77 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.8138, allocations: 3.938 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8138, allocations: 2.781 kB / 1.465 GB, free: 280.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.8138, allocations: 88.95 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.8139, allocations: 3.953 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001121/0.814, allocations: 7.984 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.283e-05/0.814, allocations: 4.516 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003683/0.8144, allocations: 160 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003422/0.8148, allocations: 246 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001461/0.8149, allocations: 31.53 kB / 1.466 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 3.022e-05/0.815, allocations: 83.28 kB / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of Backend: time 7.31e-07/0.815, allocations: 0 / 1.466 GB, free: 279.5 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005465/0.8156, allocations: 118.8 kB / 1.466 GB, free: 279.4 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0004193/0.816, allocations: 0.5612 MB / 1.466 GB, free: 278.8 MB / 0.8542 GB Notification: Performance of Templates: time 0.003282/0.8193, allocations: 0.5635 MB / 1.467 GB, free: 278.3 MB / 0.8542 GB