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.001043/0.001043, allocations: 108.7 kB / 16.37 MB, free: 6.312 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.0009889/0.0009889, allocations: 191.2 kB / 17.3 MB, free: 5.871 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.354/1.354, allocations: 205.1 MB / 223.2 MB, free: 12.23 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.728/1.728, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001523/0.001523, allocations: 75.89 kB / 0.6729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2254/0.2269, allocations: 114.6 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.002201/0.2292, allocations: 0.577 MB / 0.7854 GB, free: 2.578 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002667/0.2294, allocations: 55.78 kB / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.489e-05/0.2295, allocations: 0 / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.022e-05/0.2295, allocations: 3.938 kB / 0.7854 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 4.879e-06/0.2295, allocations: 0 / 0.7854 GB, free: 2.52 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002381/0.2298, allocations: 19.92 kB / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 4.085e-05/0.2298, allocations: 0 / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.595e-05/0.2299, allocations: 0 / 0.7854 GB, free: 2.5 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.512e-05/0.2299, allocations: 4 kB / 0.7855 GB, free: 2.496 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 2.368e-05/0.2299, allocations: 4 kB / 0.7855 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.23, allocations: 0 / 0.7855 GB, free: 2.492 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.2301, allocations: 23.95 kB / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 9.277e-06/0.2301, allocations: 0 / 0.7855 GB, free: 2.469 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.082e-05/0.2301, allocations: 4 kB / 0.7855 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.129e-05/0.2302, allocations: 19.92 kB / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.2302, allocations: 0 / 0.7855 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2302, allocations: 4 kB / 0.7855 GB, free: 2.441 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.2302, allocations: 0 / 0.7855 GB, free: 2.441 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.0002718/0.2305, allocations: 311.6 kB / 0.7858 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2305, allocations: 8.031 kB / 0.7858 GB, free: 2.078 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002457/0.2308, allocations: 20.91 kB / 0.7858 GB, free: 2.059 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.624e-05/0.2309, allocations: 160.4 kB / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-06/0.2309, allocations: 384 / 0.786 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.2309, allocations: 4.375 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001323/0.2311, allocations: 38.19 kB / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.422e-06/0.2311, allocations: 192 / 0.786 GB, free: 1.816 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.686e-06/0.2311, allocations: 3.938 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.2311, allocations: 0 / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.748e-05/0.2312, allocations: 15.98 kB / 0.786 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001275/0.2313, allocations: 149.7 kB / 0.7862 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.008e-05/0.2314, allocations: 22.61 kB / 0.7862 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.171e-05/0.2315, allocations: 12.91 kB / 0.7862 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.59e-05/0.2315, allocations: 3.938 kB / 0.7862 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.18e-05/0.2315, allocations: 34.56 kB / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.2315, allocations: 0 / 0.7863 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0002469/0.2318, allocations: 53.7 kB / 0.7863 GB, free: 1.449 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.034e-05/0.2318, allocations: 51.41 kB / 0.7864 GB, free: 1.387 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.573e-05/0.2318, allocations: 89.86 kB / 0.7864 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.217e-05/0.2319, allocations: 25.7 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 2.441e-05/0.2319, allocations: 84.14 kB / 0.7865 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.949e-05/0.2319, allocations: 0 / 0.7865 GB, free: 1.172 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.222e-05/0.232, allocations: 9.719 kB / 0.7866 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.708e-05/0.2321, allocations: 314.8 kB / 0.7869 GB, free: 0.8398 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.455e-05/0.2321, allocations: 12.02 kB / 0.7869 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.044e-05/0.2322, allocations: 7.938 kB / 0.7869 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.615e-05/0.2322, allocations: 20.78 kB / 0.7869 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.469e-06/0.2323, allocations: 0 / 0.7869 GB, free: 0.7969 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/0.2324, allocations: 45.61 kB / 0.7869 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.2324, allocations: 4.094 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2324, allocations: 4 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.67e-05/0.2324, allocations: 3.938 kB / 0.7869 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.788e-05/0.2325, allocations: 4 kB / 0.787 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.2325, allocations: 0 / 0.787 GB, free: 0.7305 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.699e-05/0.2326, allocations: 7.906 kB / 0.787 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.2326, allocations: 3.984 kB / 0.787 GB, free: 0.7188 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 7.003e-05/0.2327, allocations: 109.8 kB / 0.7871 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.826e-06/0.2327, allocations: 0 / 0.7871 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.467e-05/0.2327, allocations: 11.11 kB / 0.7871 GB, free: 0.5898 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2327, allocations: 11.88 kB / 0.7871 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.2327, allocations: 0 / 0.7871 GB, free: 0.5781 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.2328, allocations: 77.11 kB / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.096e-05/0.2328, allocations: 0 / 0.7872 GB, free: 496 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.387e-05/0.2328, allocations: 3.984 kB / 0.7872 GB, free: 492 kB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.2328, allocations: 4 kB / 0.7872 GB, free: 488 kB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000164/0.233, allocations: 117 kB / 0.7873 GB, free: 364 kB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00018/0.2332, allocations: 218.7 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.03e-05/0.2333, allocations: 4 kB / 0.7875 GB, free: 124 kB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.586e-05/0.2333, allocations: 75.28 kB / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of Backend: time 3.61e-07/0.2333, allocations: 0 / 0.7876 GB, free: 48 kB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.3339/0.5672, allocations: 98.36 kB / 0.7877 GB, free: 48.7 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0002564/0.5675, allocations: 0.5255 MB / 0.7882 GB, free: 48.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.002153/0.5697, allocations: 435.3 kB / 0.7886 GB, free: 48.15 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 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)