Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 108.5 kB / 16.36 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 197.3 kB / 17.3 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.338/1.338, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.825/1.825, allocations: 292.3 MB / 0.5496 GB, free: 17.58 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001424/0.001424, allocations: 71.91 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2078, allocations: 114.5 MB / 0.7848 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.001784/0.2097, allocations: 0.5894 MB / 0.7854 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002354/0.2099, allocations: 55.72 kB / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.487e-05/0.2099, allocations: 0 / 0.7854 GB, free: 2.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.432e-05/0.21, allocations: 4 kB / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.54e-06/0.21, allocations: 0 / 0.7854 GB, free: 2.512 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002436/0.2102, allocations: 19.91 kB / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.794e-05/0.2103, allocations: 0 / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.33e-05/0.2103, allocations: 0 / 0.7854 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.462e-05/0.2103, allocations: 4 kB / 0.7854 GB, free: 2.488 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.024e-05/0.2104, allocations: 4 kB / 0.7854 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.2104, allocations: 0 / 0.7854 GB, free: 2.484 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001022/0.2105, allocations: 23.97 kB / 0.7855 GB, free: 2.461 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.2105, allocations: 3.938 kB / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.494e-05/0.2105, allocations: 0 / 0.7855 GB, free: 2.457 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.055e-05/0.2106, allocations: 15.97 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.2106, allocations: 0 / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.352e-06/0.2106, allocations: 4 kB / 0.7855 GB, free: 2.438 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.2106, allocations: 0 / 0.7855 GB, free: 2.438 MB / 0.6544 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.0002672/0.2109, allocations: 319.6 kB / 0.7858 GB, free: 2.074 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.231e-05/0.2109, allocations: 12.03 kB / 0.7858 GB, free: 2.062 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002449/0.2112, allocations: 16.91 kB / 0.7858 GB, free: 2.047 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.289e-05/0.2113, allocations: 160.4 kB / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.2113, allocations: 4.312 kB / 0.786 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.2113, allocations: 4.375 kB / 0.786 GB, free: 1.844 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.2114, allocations: 34.25 kB / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.2115, allocations: 192 / 0.786 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.2115, allocations: 7.938 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2115, allocations: 0 / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.26e-05/0.2116, allocations: 7.984 kB / 0.786 GB, free: 1.789 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001188/0.2117, allocations: 149.7 kB / 0.7862 GB, free: 1.594 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.249e-05/0.2118, allocations: 22.52 kB / 0.7862 GB, free: 1.562 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.747e-05/0.2118, allocations: 12.91 kB / 0.7862 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.2119, allocations: 4 kB / 0.7862 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.79e-05/0.2119, allocations: 34.56 kB / 0.7862 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 9.81e-07/0.2119, allocations: 0 / 0.7862 GB, free: 1.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002214/0.2121, allocations: 49.61 kB / 0.7863 GB, free: 1.445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.098e-05/0.2122, allocations: 51.41 kB / 0.7863 GB, free: 1.383 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.159e-05/0.2122, allocations: 93.86 kB / 0.7864 GB, free: 1.281 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.2122, allocations: 25.83 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.116e-05/0.2122, allocations: 88.08 kB / 0.7865 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.2123, allocations: 0 / 0.7865 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.843e-05/0.2123, allocations: 17.66 kB / 0.7866 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.767e-05/0.2124, allocations: 314.8 kB / 0.7869 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.977e-05/0.2125, allocations: 3.984 kB / 0.7869 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.54e-05/0.2125, allocations: 4 kB / 0.7869 GB, free: 0.8125 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.136e-05/0.2126, allocations: 24.91 kB / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2126, allocations: 0 / 0.7869 GB, free: 0.7852 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001158/0.2127, allocations: 41.67 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.416e-05/0.2127, allocations: 8 kB / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.309e-06/0.2128, allocations: 0 / 0.7869 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.2128, allocations: 3.938 kB / 0.7869 GB, free: 0.7266 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.138e-05/0.2128, allocations: 4 kB / 0.7869 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.2129, allocations: 0 / 0.7869 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.405e-05/0.2129, allocations: 11.88 kB / 0.787 GB, free: 0.7109 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.2129, allocations: 3.984 kB / 0.787 GB, free: 0.707 MB / 0.6544 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 5.921e-05/0.213, allocations: 109.8 kB / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.213, allocations: 0 / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/0.213, allocations: 7.062 kB / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.92e-07/0.213, allocations: 0 / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.995e-06/0.213, allocations: 0 / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.213, allocations: 0 / 0.7871 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.752e-05/0.2131, allocations: 157.7 kB / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.2131, allocations: 0 / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.063e-05/0.2132, allocations: 0 / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.2132, allocations: 0 / 0.7872 GB, free: 388 kB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.2132, allocations: 11.94 kB / 0.7872 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.2132, allocations: 0 / 0.7872 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2132, allocations: 0 / 0.7872 GB, free: 376 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000133/0.2133, allocations: 65.11 kB / 0.7873 GB, free: 292 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.884e-05/0.2134, allocations: 81.11 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.178e-05/0.2134, allocations: 7.938 kB / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.245e-05/0.2134, allocations: 0 / 0.7874 GB, free: 184 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.275e-05/0.2135, allocations: 7.922 kB / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.2135, allocations: 0 / 0.7874 GB, free: 176 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.453e-05/0.2135, allocations: 79.27 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2135, allocations: 7.938 kB / 0.7875 GB, free: 88 kB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001753/0.2137, allocations: 0 / 0.7875 GB, free: 88 kB / 0.6544 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 0.3356/0.5493, allocations: 103.2 kB / 0.7876 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002643/0.5496, allocations: 10.66 kB / 0.7876 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.5496, allocations: 0 / 0.7876 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 4.333e-05/0.5497, allocations: 4.812 kB / 0.7876 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000175/0.5498, allocations: 2.562 kB / 0.7876 GB, free: 48.81 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002576/0.5501, allocations: 80.36 kB / 0.7877 GB, free: 48.72 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001162/0.5502, allocations: 0.673 MB / 0.7883 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.5503, allocations: 6.469 kB / 0.7883 GB, free: 48.03 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.5503, allocations: 8.047 kB / 0.7883 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of SimCode: time 5.71e-07/0.5503, allocations: 0 / 0.7883 GB, free: 48.02 MB / 0.6544 GB Notification: Performance of Templates: time 0.002051/0.5524, allocations: 225 kB / 0.7885 GB, free: 48.02 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)