Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") translateModel(Buildings.Utilities.Math.Functions.Examples.RegStep,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.272/2.272, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001381/0.00138, allocations: 180.9 kB / 326.3 MB, free: 2.848 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.554/2.554, allocations: 205.4 MB / 0.5772 GB, free: 20.77 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008731/0.000873, allocations: 84.94 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004841, allocations: 16.62 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2144/0.2149, allocations: 106.3 MB / 0.8995 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegStep): time 0.0007561/0.2157, allocations: 326.4 kB / 0.8998 GB, free: 65.18 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002421/0.216, allocations: 39.91 kB / 0.8999 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.454e-05/0.216, allocations: 0 / 0.8999 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.093e-05/0.216, allocations: 0 / 0.8999 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.494e-06/0.216, allocations: 4 kB / 0.8999 GB, free: 65.14 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002087/0.2162, allocations: 11.98 kB / 0.8999 GB, free: 65.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.291e-05/0.2163, allocations: 11.94 kB / 0.8999 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.2164, allocations: 0 / 0.8999 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.511e-05/0.2164, allocations: 7.922 kB / 0.8999 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.303e-05/0.2164, allocations: 0 / 0.8999 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.003e-05/0.2164, allocations: 0 / 0.8999 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.385e-05/0.2165, allocations: 23.97 kB / 0.8999 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.863e-06/0.2166, allocations: 0 / 0.8999 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.764e-05/0.2166, allocations: 25.7 kB / 0.8999 GB, free: 65.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.235e-05/0.2167, allocations: 7.984 kB / 0.9 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2167, allocations: 4 kB / 0.9 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.375e-06/0.2167, allocations: 0 / 0.9 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2167, allocations: 4 kB / 0.9 GB, free: 65.04 MB / 0.6042 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.000218/0.2169, allocations: 311.6 kB / 0.9003 GB, free: 64.68 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.217, allocations: 8.031 kB / 0.9003 GB, free: 64.67 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003534/0.2174, allocations: 24.84 kB / 0.9003 GB, free: 64.65 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.921e-05/0.2174, allocations: 164.4 kB / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2175, allocations: 384 / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.256e-05/0.2175, allocations: 384 / 0.9004 GB, free: 64.45 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001577/0.2176, allocations: 38.25 kB / 0.9005 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.937e-06/0.2177, allocations: 192 / 0.9005 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.2177, allocations: 3.938 kB / 0.9005 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2177, allocations: 3.938 kB / 0.9005 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001425/0.2179, allocations: 11.98 kB / 0.9005 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001152/0.218, allocations: 146.8 kB / 0.9006 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001029/0.2181, allocations: 26.59 kB / 0.9007 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.175e-05/0.2182, allocations: 8.922 kB / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.055e-05/0.2182, allocations: 0 / 0.9007 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2183, allocations: 34.55 kB / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.493e-06/0.2183, allocations: 0 / 0.9007 GB, free: 64.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0003224/0.2186, allocations: 57.47 kB / 0.9008 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.918e-05/0.2186, allocations: 55.53 kB / 0.9008 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.202e-05/0.2187, allocations: 89.86 kB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.2187, allocations: 25.7 kB / 0.9009 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.494e-05/0.2187, allocations: 80.14 kB / 0.901 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.799e-05/0.2187, allocations: 11.92 kB / 0.901 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-06/0.2188, allocations: 0 / 0.901 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.294e-05/0.2188, allocations: 310.8 kB / 0.9013 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.2189, allocations: 0 / 0.9013 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.962e-05/0.219, allocations: 11.98 kB / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.102e-05/0.2191, allocations: 4 kB / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.2191, allocations: 0 / 0.9013 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001859/0.2193, allocations: 49.62 kB / 0.9014 GB, free: 63.37 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.2193, allocations: 7.984 kB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/0.2193, allocations: 0 / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.2194, allocations: 3.938 kB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.2195, allocations: 4.094 kB / 0.9014 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.2195, allocations: 4 kB / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.178e-05/0.2195, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.496e-06/0.2196, allocations: 0 / 0.9014 GB, free: 63.35 MB / 0.6042 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 5.902e-05/0.2196, allocations: 113.8 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.639e-06/0.2196, allocations: 0 / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.2197, allocations: 3.125 kB / 0.9015 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.2197, allocations: 3.938 kB / 0.9015 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.2197, allocations: 0 / 0.9015 GB, free: 63.22 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.2197, allocations: 81.11 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.386e-05/0.2198, allocations: 4 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.247e-05/0.2198, allocations: 3.938 kB / 0.9016 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.271e-05/0.2198, allocations: 3.984 kB / 0.9016 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002237/0.2201, allocations: 120.9 kB / 0.9017 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002171/0.2203, allocations: 222.8 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 8.003e-05/0.2204, allocations: 4 kB / 0.9019 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.598e-05/0.2204, allocations: 75.28 kB / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of Backend: time 6.21e-07/0.2204, allocations: 0 / 0.902 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004939/0.2209, allocations: 83.95 kB / 0.9021 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of SimCode: time 0.000305/0.2213, allocations: 0.5351 MB / 0.9026 GB, free: 62 MB / 0.6042 GB Notification: Performance of Templates: time 0.002835/0.2241, allocations: 431.6 kB / 0.903 GB, free: 61.59 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.RegStep.pipe 2>&1)