Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.057/2.057, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001171/0.001171, allocations: 200.1 kB / 499.1 MB, free: 4.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.288/1.288, allocations: 222.9 MB / 0.7948 GB, free: 15.81 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009059/0.0009059, allocations: 95.75 kB / 0.9329 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001035/0.001035, allocations: 54.14 kB / 1.081 GB, free: 218.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2316/0.2327, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001545/0.2343, allocations: 0.6411 MB / 1.219 GB, free: 116.6 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.0002404/0.2345, allocations: 55.8 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.337e-06/0.2346, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 1.296e-05/0.2346, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 4.598e-06/0.2346, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001721/0.2348, allocations: 11.98 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 3.506e-05/0.2348, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 3.843e-05/0.2349, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 1.616e-05/0.2349, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 2.788e-05/0.2349, allocations: 7.938 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 8.476e-06/0.2349, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 7.877e-05/0.235, allocations: 19.97 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.235, allocations: 4 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 1.768e-05/0.235, allocations: 3.984 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 6.645e-05/0.2351, allocations: 11.98 kB / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.2351, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2351, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.377e-06/0.2351, allocations: 0 / 1.219 GB, free: 116.5 MB / 0.823 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.0001873/0.2353, allocations: 319.5 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.104e-05/0.2354, allocations: 20.05 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002238/0.2356, allocations: 20.91 kB / 1.219 GB, free: 116.1 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.153e-05/0.2357, allocations: 160.4 kB / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.2357, allocations: 384 / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.424e-06/0.2357, allocations: 384 / 1.219 GB, free: 115.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.2358, allocations: 38.25 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.2358, allocations: 192 / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.979e-06/0.2358, allocations: 11.94 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.2358, allocations: 0 / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.932e-05/0.2359, allocations: 11.97 kB / 1.219 GB, free: 115.8 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.917e-05/0.236, allocations: 149.7 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 6.879e-05/0.2361, allocations: 26.48 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.572e-05/0.2362, allocations: 12.91 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.941e-05/0.2362, allocations: 4 kB / 1.22 GB, free: 115.6 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.567e-05/0.2362, allocations: 34.56 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of pre-optimization done (n=1): time 1.001e-06/0.2362, allocations: 3.938 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of matching and sorting (n=1): time 0.0002108/0.2364, allocations: 45.61 kB / 1.22 GB, free: 115.5 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.849e-05/0.2365, allocations: 55.34 kB / 1.22 GB, free: 115.4 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.612e-05/0.2365, allocations: 97.86 kB / 1.22 GB, free: 115.3 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 7.404e-06/0.2365, allocations: 29.83 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 9.598e-06/0.2365, allocations: 80.14 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 2.798e-05/0.2365, allocations: 3.906 kB / 1.22 GB, free: 115.2 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.345e-05/0.2366, allocations: 9.719 kB / 1.22 GB, free: 115.1 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 4.175e-05/0.2366, allocations: 314.8 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.334e-05/0.2367, allocations: 3.984 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.469e-05/0.2367, allocations: 4 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.919e-05/0.2368, allocations: 24.91 kB / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2368, allocations: 0 / 1.22 GB, free: 114.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.949e-05/0.2369, allocations: 45.61 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/0.2369, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.2369, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.2369, allocations: 3.938 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.794e-05/0.237, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.237, allocations: 4.031 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.826e-05/0.237, allocations: 4 kB / 1.22 GB, free: 114.7 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-06/0.2371, allocations: 0 / 1.22 GB, free: 114.7 MB / 0.823 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.828e-05/0.2371, allocations: 110.5 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.274e-06/0.2371, allocations: 4 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.2371, allocations: 7.062 kB / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.52e-07/0.2371, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.2372, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.004e-06/0.2372, allocations: 0 / 1.22 GB, free: 114.6 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.248e-05/0.2372, allocations: 153.7 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.2372, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.589e-05/0.2373, allocations: 4 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.222e-06/0.2373, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.2373, allocations: 3.938 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.2373, allocations: 0 / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2373, allocations: 4 kB / 1.221 GB, free: 114.4 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.2375, allocations: 0.6161 MB / 1.221 GB, free: 113.7 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 1.295e-05/0.2375, allocations: 77.11 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.2376, allocations: 3.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.961e-05/0.2376, allocations: 4 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.087e-06/0.2376, allocations: 7.938 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-06/0.2376, allocations: 3.984 kB / 1.221 GB, free: 113.6 MB / 0.823 GB Notification: Performance of sorting global known variables: time 1.338e-05/0.2376, allocations: 79.31 kB / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of sort global known variables: time 8e-08/0.2376, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0002513/0.2379, allocations: 0 / 1.221 GB, free: 113.5 MB / 0.823 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.157e-05/0.238, allocations: 103.2 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.2381, allocations: 11.98 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2381, allocations: 4 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 3.888e-05/0.2382, allocations: 8.062 kB / 1.221 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001143/0.2383, allocations: 10.03 kB / 1.222 GB, free: 113.4 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002233/0.2385, allocations: 177.7 kB / 1.222 GB, free: 113.2 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.899e-05/0.2386, allocations: 0.6731 MB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 3.349e-05/0.2386, allocations: 64 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.77e-05/0.2387, allocations: 11.44 kB / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of SimCode: time 2e-07/0.2387, allocations: 0 / 1.222 GB, free: 112.5 MB / 0.823 GB Notification: Performance of Templates: time 0.001512/0.2402, allocations: 233.5 kB / 1.223 GB, free: 112.2 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)