Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.382/2.382, allocations: 251.2 MB / 266.2 MB, free: 11.52 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001918/0.001918, allocations: 169.1 kB / 325.8 MB, free: 2.789 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.439/2.439, allocations: 205.4 MB / 0.5767 GB, free: 21.09 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009963/0.0009962, allocations: 88.59 kB / 0.6812 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006189/0.0006192, allocations: 13.81 kB / 0.7953 GB, free: 135.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2087, allocations: 106.3 MB / 0.899 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001696/0.2104, allocations: 1.164 MB / 0.9002 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007569/0.2112, allocations: 361 kB / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.387e-05/0.2113, allocations: 3.938 kB / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.912e-05/0.2113, allocations: 0 / 0.9005 GB, free: 64.35 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.2114, allocations: 7.938 kB / 0.9005 GB, free: 64.34 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000442/0.2119, allocations: 73.72 kB / 0.9006 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.836e-05/0.2119, allocations: 23.92 kB / 0.9006 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.863e-05/0.2121, allocations: 7.984 kB / 0.9006 GB, free: 64.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.248e-05/0.2121, allocations: 15.92 kB / 0.9006 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.507e-05/0.2122, allocations: 7.984 kB / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.427e-05/0.2122, allocations: 0 / 0.9006 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004697/0.2127, allocations: 267.6 kB / 0.9009 GB, free: 63.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.243e-05/0.2127, allocations: 11.98 kB / 0.9009 GB, free: 63.94 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.313e-05/0.2127, allocations: 25.7 kB / 0.9009 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000164/0.2129, allocations: 63.89 kB / 0.901 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.401e-06/0.2129, allocations: 4 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.835e-06/0.2129, allocations: 3.984 kB / 0.901 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.213, allocations: 0 / 0.901 GB, free: 63.84 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.0004812/0.2134, allocations: 359.5 kB / 0.9013 GB, free: 63.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.2135, allocations: 12.03 kB / 0.9014 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.069e-05/0.2136, allocations: 8.781 kB / 0.9014 GB, free: 63.42 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001046/0.2137, allocations: 168.3 kB / 0.9015 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.2137, allocations: 384 / 0.9015 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.18e-05/0.2137, allocations: 384 / 0.9015 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002422/0.214, allocations: 58.17 kB / 0.9016 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.878e-06/0.214, allocations: 192 / 0.9016 GB, free: 63.15 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.19e-05/0.214, allocations: 7.938 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2141, allocations: 4 kB / 0.9016 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003301/0.2144, allocations: 43.95 kB / 0.9016 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003268/0.2147, allocations: 253 kB / 0.9019 GB, free: 62.8 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001807/0.2149, allocations: 50.44 kB / 0.9019 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.2151, allocations: 20.91 kB / 0.9019 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008565/0.216, allocations: 469.5 kB / 0.9024 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.216, allocations: 30.56 kB / 0.9024 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 2.574e-06/0.216, allocations: 4 kB / 0.9024 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0006083/0.2166, allocations: 97.64 kB / 0.9025 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.852e-05/0.2167, allocations: 55.53 kB / 0.9026 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.2168, allocations: 105.8 kB / 0.9027 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.121e-05/0.2168, allocations: 25.7 kB / 0.9027 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.2168, allocations: 84.14 kB / 0.9028 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.2169, allocations: 11.83 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.278e-06/0.2169, allocations: 4 kB / 0.9028 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.094e-05/0.217, allocations: 310.8 kB / 0.9031 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001372/0.2171, allocations: 23.98 kB / 0.9031 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001307/0.2172, allocations: 27.91 kB / 0.9031 GB, free: 61.35 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2174, allocations: 23.98 kB / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2174, allocations: 0 / 0.9032 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000346/0.2178, allocations: 85.56 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.2178, allocations: 4 kB / 0.9032 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.2178, allocations: 4 kB / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.2178, allocations: 0 / 0.9033 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001267/0.218, allocations: 12.03 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.218, allocations: 3.984 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.944e-05/0.2181, allocations: 4 kB / 0.9033 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.2181, allocations: 7.938 kB / 0.9033 GB, free: 61.2 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 7.165e-05/0.2182, allocations: 117.7 kB / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.774e-05/0.2183, allocations: 4 kB / 0.9034 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000355/0.2186, allocations: 89.17 kB / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.2186, allocations: 0 / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-06/0.2187, allocations: 0 / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2187, allocations: 0 / 0.9035 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001597/0.2188, allocations: 157.9 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/0.2188, allocations: 7.984 kB / 0.9036 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.839e-05/0.219, allocations: 16.03 kB / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.536e-06/0.219, allocations: 0 / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.208e-06/0.219, allocations: 0 / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.524e-06/0.219, allocations: 0 / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.219, allocations: 0 / 0.9037 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003638/0.2194, allocations: 187.3 kB / 0.9038 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.68e-05/0.2194, allocations: 81.09 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.815e-05/0.2195, allocations: 0 / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001124/0.2196, allocations: 8 kB / 0.9039 GB, free: 60.45 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.719e-05/0.2196, allocations: 7.969 kB / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-06/0.2197, allocations: 0 / 0.9039 GB, free: 60.44 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.2197, allocations: 91.31 kB / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.01e-07/0.2197, allocations: 0 / 0.904 GB, free: 60.35 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002907/0.22, allocations: 12 kB / 0.904 GB, free: 60.34 MB / 0.6042 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 (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 Backend phase and start with SimCode phase: time 0.0001797/0.2202, allocations: 107.2 kB / 0.9041 GB, free: 60.22 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003343/0.2205, allocations: 47.97 kB / 0.9042 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.2206, allocations: 7.938 kB / 0.9042 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001462/0.2207, allocations: 27.97 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003227/0.2211, allocations: 3.938 kB / 0.9042 GB, free: 60.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002927/0.2214, allocations: 116.8 kB / 0.9043 GB, free: 60 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000122/0.2215, allocations: 0.6809 MB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.245e-05/0.2215, allocations: 7.922 kB / 0.905 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.2216, allocations: 7.438 kB / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of SimCode: time 9.72e-07/0.2216, allocations: 0 / 0.905 GB, free: 59.28 MB / 0.6042 GB Notification: Performance of Templates: time 0.00338/0.225, allocations: 0.6192 MB / 0.9056 GB, free: 58.66 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)