Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegStep.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.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.104/5.104, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 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.003755/0.003756, allocations: 360.7 kB / 0.6447 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.272/4.272, allocations: 410.7 MB / 1.113 GB, free: 6.055 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.001929/0.001929, allocations: 183.6 kB / 1.226 GB, free: 6.152 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007297/0.0007299, allocations: 16 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8096/0.8104, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001522/0.8121, allocations: 322.8 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0003103/0.8124, allocations: 50.67 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.667e-05/0.8125, allocations: 0.75 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 1.342e-05/0.8125, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 7.885e-06/0.8125, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.8128, allocations: 17.2 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 4.44e-05/0.8129, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.8129, allocations: 2.75 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 1.587e-05/0.8129, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 4.314e-05/0.813, allocations: 4 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.139e-05/0.813, allocations: 0 / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001039/0.8131, allocations: 15.98 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 9.037e-06/0.8132, allocations: 3.984 kB / 1.462 GB, free: 284 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.615e-05/0.8132, allocations: 25.7 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 7.331e-05/0.8133, allocations: 15.98 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.8133, allocations: 0.9375 kB / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.595e-06/0.8133, allocations: 0 / 1.462 GB, free: 283.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.398e-06/0.8133, allocations: 5.125 kB / 1.462 GB, free: 283.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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002742/0.8136, allocations: 307.4 kB / 1.462 GB, free: 283.6 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.8137, allocations: 12.38 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003521/0.814, allocations: 24.62 kB / 1.462 GB, free: 283.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.973e-05/0.8141, allocations: 163.6 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.8141, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.146e-05/0.8142, allocations: 0.5625 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001694/0.8143, allocations: 44.17 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.8144, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.126e-05/0.8144, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.8144, allocations: 0 / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001413/0.8146, allocations: 13.05 kB / 1.462 GB, free: 283.3 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001479/0.8147, allocations: 150.7 kB / 1.462 GB, free: 283.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.8148, allocations: 26.08 kB / 1.462 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.242e-05/0.8149, allocations: 12.86 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.701e-05/0.815, allocations: 0 / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.815, allocations: 30.56 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=1): time 1.412e-06/0.815, allocations: 1.188 kB / 1.463 GB, free: 283 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1): time 0.0003537/0.8154, allocations: 51.23 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.501e-05/0.8154, allocations: 51.41 kB / 1.463 GB, free: 282.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.52e-05/0.8154, allocations: 89.86 kB / 1.463 GB, free: 282.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.156e-05/0.8155, allocations: 26.27 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 1.912e-05/0.8155, allocations: 80.92 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.8155, allocations: 4 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.028e-06/0.8156, allocations: 2.719 kB / 1.463 GB, free: 282.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.687e-05/0.8156, allocations: 310.8 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.462e-05/0.8157, allocations: 7.984 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.864e-05/0.8158, allocations: 3.938 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.378e-05/0.8159, allocations: 12.73 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.8159, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001889/0.8161, allocations: 47.17 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.8161, allocations: 4 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.8162, allocations: 0.7188 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.8162, allocations: 0 / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8163, allocations: 8.484 kB / 1.463 GB, free: 282.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.673e-06/0.8163, allocations: 5.438 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.43e-05/0.8164, allocations: 3.906 kB / 1.463 GB, free: 282.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.8164, allocations: 4 kB / 1.463 GB, free: 282.2 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 (1): * Single equations (assignments): 1 * 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 7.191e-05/0.8165, allocations: 106.6 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.8165, allocations: 4.547 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.147e-05/0.8166, allocations: 4.656 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.8166, allocations: 0 / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.394e-06/0.8166, allocations: 6.109 kB / 1.463 GB, free: 282.1 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.753e-05/0.8166, allocations: 79.22 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.8166, allocations: 4 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.341e-05/0.8167, allocations: 7.938 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.255e-05/0.8167, allocations: 3.938 kB / 1.463 GB, free: 282 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002414/0.817, allocations: 123.2 kB / 1.464 GB, free: 281.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002221/0.8172, allocations: 212.9 kB / 1.464 GB, free: 281.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.334e-05/0.8173, allocations: 14.64 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 1.999e-05/0.8174, allocations: 75.97 kB / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of Backend: time 8.12e-07/0.8174, allocations: 0 / 1.464 GB, free: 281.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005339/0.8179, allocations: 93.02 kB / 1.464 GB, free: 281.5 MB / 0.8542 GB Notification: Performance of SimCode: time 0.0003237/0.8183, allocations: 0.5195 MB / 1.464 GB, free: 280.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.003213/0.8215, allocations: 442.8 kB / 1.465 GB, free: 280.5 MB / 0.8542 GB