Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.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.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.142/2.142, allocations: 251.1 MB / 266.7 MB, free: 11.66 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.001982/0.001982, allocations: 177.8 kB / 326.3 MB, free: 2.891 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.564/2.564, allocations: 205.4 MB / 0.5772 GB, free: 20.73 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.0008613/0.0008612, allocations: 93.78 kB / 0.6817 GB, free: 13.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004649/0.0004651, allocations: 15.47 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2105/0.211, allocations: 106.3 MB / 0.8995 GB, free: 65.59 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001678/0.2127, allocations: 1.161 MB / 0.9006 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007299/0.2135, allocations: 352.1 kB / 0.901 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.036e-05/0.2136, allocations: 0 / 0.901 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.761e-05/0.2136, allocations: 3.938 kB / 0.901 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.861e-05/0.2136, allocations: 7.984 kB / 0.901 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004477/0.2141, allocations: 75.78 kB / 0.9011 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.825e-05/0.2142, allocations: 19.94 kB / 0.9011 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.369e-05/0.2143, allocations: 7.984 kB / 0.9011 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 3.832e-05/0.2143, allocations: 4 kB / 0.9011 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.231e-05/0.2144, allocations: 19.86 kB / 0.9011 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.251e-05/0.2144, allocations: 0 / 0.9011 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004527/0.2149, allocations: 259.7 kB / 0.9013 GB, free: 63.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.2149, allocations: 8 kB / 0.9014 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.141e-05/0.2149, allocations: 29.7 kB / 0.9014 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000151/0.2151, allocations: 71.86 kB / 0.9015 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.961e-06/0.2151, allocations: 4 kB / 0.9015 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.853e-06/0.2151, allocations: 0 / 0.9015 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.2151, allocations: 0 / 0.9015 GB, free: 63.55 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004668/0.2156, allocations: 355.4 kB / 0.9018 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.332e-05/0.2157, allocations: 19.97 kB / 0.9018 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.366e-05/0.2157, allocations: 8.781 kB / 0.9018 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.255e-05/0.2158, allocations: 168.6 kB / 0.902 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2159, allocations: 4.375 kB / 0.902 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.423e-05/0.2159, allocations: 384 / 0.902 GB, free: 62.92 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.2161, allocations: 54.23 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.308e-06/0.2161, allocations: 4.188 kB / 0.902 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.2162, allocations: 11.92 kB / 0.9021 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.2162, allocations: 4 kB / 0.9021 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000278/0.2165, allocations: 43.95 kB / 0.9021 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003055/0.2168, allocations: 244.9 kB / 0.9023 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001806/0.217, allocations: 54.48 kB / 0.9024 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001441/0.2171, allocations: 24.91 kB / 0.9024 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000846/0.218, allocations: 461.5 kB / 0.9029 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.327e-05/0.218, allocations: 34.56 kB / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.244e-06/0.2181, allocations: 0 / 0.9029 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0005864/0.2186, allocations: 101.6 kB / 0.903 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.801e-05/0.2187, allocations: 55.41 kB / 0.903 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.127e-05/0.2188, allocations: 110 kB / 0.9031 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.2188, allocations: 25.7 kB / 0.9032 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.177e-05/0.2188, allocations: 80.14 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.891e-05/0.2189, allocations: 7.891 kB / 0.9032 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.709e-06/0.2189, allocations: 4 kB / 0.9033 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.736e-05/0.2189, allocations: 314.8 kB / 0.9036 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001377/0.2191, allocations: 19.98 kB / 0.9036 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001351/0.2192, allocations: 23.98 kB / 0.9036 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001413/0.2194, allocations: 27.97 kB / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.2194, allocations: 0 / 0.9036 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003441/0.2198, allocations: 81.58 kB / 0.9037 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.2198, allocations: 7.938 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.2198, allocations: 0 / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.2198, allocations: 4 kB / 0.9037 GB, free: 60.94 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001249/0.22, allocations: 15.92 kB / 0.9037 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.22, allocations: 4.031 kB / 0.9037 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.219e-05/0.2201, allocations: 11.92 kB / 0.9037 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.2201, allocations: 4 kB / 0.9037 GB, free: 60.9 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 (2): * Single equations (assignments): 2 * 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 6.842e-05/0.2202, allocations: 109.8 kB / 0.9038 GB, free: 60.79 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.931e-05/0.2202, allocations: 7.938 kB / 0.9039 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003627/0.2206, allocations: 81.19 kB / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2206, allocations: 0 / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.2206, allocations: 0 / 0.9039 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.713e-05/0.2207, allocations: 81.09 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2207, allocations: 4 kB / 0.904 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000115/0.2208, allocations: 8 kB / 0.904 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.696e-05/0.2209, allocations: 11.95 kB / 0.904 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003774/0.2213, allocations: 160.9 kB / 0.9042 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0003777/0.2217, allocations: 250.7 kB / 0.9044 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001545/0.2218, allocations: 28.02 kB / 0.9045 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.556e-05/0.2219, allocations: 87.2 kB / 0.9045 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of Backend: time 8.22e-07/0.2219, allocations: 0 / 0.9045 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0007297/0.2226, allocations: 134.4 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004413/0.2231, allocations: 0.5605 MB / 0.9052 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.004471/0.2276, allocations: 1.31 MB / 0.9065 GB, free: 57.98 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)