Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.SmoothExponential.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.SmoothExponential,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.SmoothExponential") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.964/4.964, allocations: 0.5623 GB / 0.5769 GB, free: 3.316 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.002392/0.002391, allocations: 360.4 kB / 0.644 GB, free: 185.7 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.213/4.213, allocations: 410.7 MB / 1.112 GB, free: 6.027 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.001786/0.001786, allocations: 197.8 kB / 1.225 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004881/0.0004883, allocations: 16 kB / 1.348 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5897/0.5902, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.SmoothExponential): time 0.001346/0.5916, allocations: 1.153 MB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003488/0.592, allocations: 172.5 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.009e-05/0.592, allocations: 3.938 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.3e-05/0.592, allocations: 4.906 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.731e-05/0.5921, allocations: 4 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.000195/0.5923, allocations: 24.7 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.753e-05/0.5924, allocations: 19.92 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 6.5e-05/0.5924, allocations: 9.016 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 3.202e-05/0.5925, allocations: 7.984 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.303e-05/0.5925, allocations: 9.188 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.107e-05/0.5926, allocations: 0 / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 7.81e-05/0.5927, allocations: 35.95 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.191e-06/0.5927, allocations: 0.8125 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.339e-05/0.5927, allocations: 33.7 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.789e-05/0.5928, allocations: 23.94 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5928, allocations: 0.9062 kB / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.809e-06/0.5928, allocations: 0 / 1.462 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.912e-06/0.5928, allocations: 0.7188 kB / 1.462 GB, free: 282.9 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.0003464/0.5932, allocations: 351.5 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.43e-05/0.5932, allocations: 15.62 kB / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.994e-05/0.5933, allocations: 0 / 1.463 GB, free: 282.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.411e-05/0.5934, allocations: 171.6 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.305e-05/0.5934, allocations: 1.375 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.088e-05/0.5934, allocations: 1.172 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001737/0.5936, allocations: 58.33 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.494e-06/0.5936, allocations: 0.5938 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.834e-06/0.5936, allocations: 0 / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-06/0.5937, allocations: 1.625 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001919/0.5939, allocations: 49.2 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002652/0.5941, allocations: 250.7 kB / 1.463 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.5943, allocations: 48.88 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001/0.5944, allocations: 26.62 kB / 1.463 GB, free: 281.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 7.361e-05/0.5945, allocations: 83.67 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.749e-05/0.5945, allocations: 34.56 kB / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.927e-06/0.5945, allocations: 0 / 1.463 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.00039/0.5949, allocations: 99.95 kB / 1.463 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.541e-05/0.595, allocations: 56.94 kB / 1.463 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.783e-05/0.595, allocations: 101.8 kB / 1.463 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.062e-05/0.5951, allocations: 29.64 kB / 1.464 GB, free: 281.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.093e-05/0.5951, allocations: 87.72 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.612e-05/0.5951, allocations: 7.906 kB / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.782e-06/0.5951, allocations: 0 / 1.464 GB, free: 281.3 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.006e-05/0.5952, allocations: 322.8 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.853e-05/0.5953, allocations: 18.61 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.019e-05/0.5954, allocations: 24.48 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.493e-05/0.5955, allocations: 22.73 kB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.095e-06/0.5955, allocations: 0 / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002472/0.5958, allocations: 75.47 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.5958, allocations: 4 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.037e-06/0.5958, allocations: 3 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.5959, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.596, allocations: 19.98 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.596, allocations: 0 / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.955e-05/0.5961, allocations: 11.92 kB / 1.464 GB, free: 280.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.784e-06/0.5961, allocations: 1.406 kB / 1.464 GB, free: 280.8 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 5.684e-05/0.5961, allocations: 117.7 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.465e-05/0.5962, allocations: 1.156 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002836/0.5965, allocations: 83.98 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.464e-06/0.5965, allocations: 0 / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/0.5965, allocations: 0.5312 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.194e-06/0.5965, allocations: 4 kB / 1.464 GB, free: 280.6 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001498/0.5967, allocations: 162.4 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.201e-06/0.5967, allocations: 256 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.4e-05/0.5968, allocations: 13.66 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.219e-06/0.5968, allocations: 3.984 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.422e-06/0.5968, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.133e-06/0.5969, allocations: 0.625 kB / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.721e-06/0.5969, allocations: 0 / 1.464 GB, free: 280.3 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.5971, allocations: 187.5 kB / 1.465 GB, free: 280.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.183e-05/0.5972, allocations: 77.11 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.5972, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001074/0.5973, allocations: 13.25 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.5974, allocations: 5.297 kB / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-06/0.5974, allocations: 0 / 1.465 GB, free: 280 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 2.926e-05/0.5974, allocations: 84.53 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.91e-07/0.5974, allocations: 0 / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004138/0.5979, allocations: 12 kB / 1.465 GB, free: 279.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (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 Backend phase and start with SimCode phase: time 0.0001378/0.598, allocations: 108 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002419/0.5983, allocations: 51.25 kB / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.478e-06/0.5983, allocations: 0 / 1.465 GB, free: 279.8 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000109/0.5984, allocations: 30.53 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003271/0.5988, allocations: 7.953 kB / 1.465 GB, free: 279.7 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002538/0.599, allocations: 111.1 kB / 1.465 GB, free: 279.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001201/0.5992, allocations: 0.6809 MB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.762e-05/0.5992, allocations: 0 / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.147e-05/0.5992, allocations: 11.44 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.593e-06/0.5992, allocations: 0.5625 kB / 1.466 GB, free: 278.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.002789/0.602, allocations: 0.4889 MB / 1.466 GB, free: 278.4 MB / 0.8542 GB