Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008653/0.0008653, allocations: 83.69 kB / 21.74 MB, free: 2.512 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 172.9 kB / 25.18 MB, free: 8.918 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9278/0.9278, allocations: 177.1 MB / 205.6 MB, free: 5.41 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.869/1.869, allocations: 389.6 MB / 0.6364 GB, free: 12.25 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 0.7755 GB, free: 6.023 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.366e-05/1.514e-05, allocations: 2.312 kB / 0.7755 GB, free: 6.02 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.001896/0.001911, allocations: 1.552 MB / 0.7771 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005534/0.002464, allocations: 363.3 kB / 0.7774 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.404e-05/0.002498, allocations: 0 / 0.7774 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.00253, allocations: 0 / 0.7774 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.924e-05/0.00258, allocations: 12.7 kB / 0.7774 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003021/0.002882, allocations: 96.28 kB / 0.7775 GB, free: 4.027 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.924e-05/0.002941, allocations: 21.14 kB / 0.7775 GB, free: 4.012 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 6.889e-05/0.00301, allocations: 11.98 kB / 0.7775 GB, free: 4 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 5.162e-05/0.003062, allocations: 14.14 kB / 0.7775 GB, free: 3.988 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.7e-05/0.003099, allocations: 8.547 kB / 0.7776 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.206e-05/0.003111, allocations: 0.6875 kB / 0.7776 GB, free: 3.98 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002914/0.003402, allocations: 284.4 kB / 0.7778 GB, free: 3.703 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.493e-05/0.003417, allocations: 10.69 kB / 0.7778 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.686e-05/0.003434, allocations: 4.766 kB / 0.7778 GB, free: 3.691 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001721/0.003606, allocations: 136.6 kB / 0.778 GB, free: 3.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.104e-06/0.003608, allocations: 3.938 kB / 0.778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.81e-07/0.003609, allocations: 0.8125 kB / 0.778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.076e-06/0.003612, allocations: 0 / 0.778 GB, free: 3.555 MB / 0.7292 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.0002682/0.00388, allocations: 253.2 kB / 0.7782 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.178e-05/0.003912, allocations: 14.03 kB / 0.7782 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.777e-05/0.003969, allocations: 0.9375 kB / 0.7782 GB, free: 3.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.502e-05/0.004044, allocations: 120.8 kB / 0.7783 GB, free: 3.129 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.487e-06/0.004054, allocations: 4.375 kB / 0.7784 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.166e-06/0.004062, allocations: 384 / 0.7784 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.915e-05/0.004151, allocations: 62.92 kB / 0.7784 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.66e-06/0.004157, allocations: 192 / 0.7784 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-06/0.004162, allocations: 384 / 0.7784 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.004167, allocations: 384 / 0.7784 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.934e-05/0.004186, allocations: 11.88 kB / 0.7784 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001721/0.004358, allocations: 143.1 kB / 0.7786 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.289e-05/0.004391, allocations: 18.58 kB / 0.7786 GB, free: 2.863 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.307e-05/0.004404, allocations: 8.859 kB / 0.7786 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002431/0.004647, allocations: 69.92 kB / 0.7787 GB, free: 2.785 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.98e-05/0.004667, allocations: 34.56 kB / 0.7787 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.004669, allocations: 0.5 kB / 0.7787 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.00011/0.004779, allocations: 42.75 kB / 0.7787 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.407e-05/0.004803, allocations: 55.34 kB / 0.7788 GB, free: 2.629 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.946e-05/0.004852, allocations: 114.7 kB / 0.7789 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.004861, allocations: 26.52 kB / 0.7789 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.495e-05/0.004885, allocations: 84.12 kB / 0.779 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.687e-05/0.004902, allocations: 8.484 kB / 0.779 GB, free: 2.379 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.004e-05/0.004922, allocations: 10.66 kB / 0.779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.413e-05/0.004997, allocations: 322.8 kB / 0.7793 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.637e-06/0.005005, allocations: 0 / 0.7793 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.876e-06/0.005014, allocations: 4.562 kB / 0.7793 GB, free: 2.035 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.998e-05/0.005034, allocations: 9.734 kB / 0.7793 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.282e-06/0.005035, allocations: 5.375 kB / 0.7793 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.395e-05/0.005089, allocations: 37.69 kB / 0.7794 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.028e-05/0.0051, allocations: 4 kB / 0.7794 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.005103, allocations: 0 / 0.7794 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.00511, allocations: 0.6562 kB / 0.7794 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.413e-05/0.005154, allocations: 16.75 kB / 0.7794 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.005158, allocations: 3.984 kB / 0.7794 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.403e-05/0.005172, allocations: 0.9062 kB / 0.7794 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.005175, allocations: 256 / 0.7794 GB, free: 1.953 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.566e-05/0.005221, allocations: 114.7 kB / 0.7795 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.9e-05/0.00524, allocations: 0 / 0.7795 GB, free: 1.832 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.568e-05/0.005296, allocations: 53.95 kB / 0.7796 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.005297, allocations: 0 / 0.7796 GB, free: 1.777 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.0053, allocations: 8.531 kB / 0.7796 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.005303, allocations: 0 / 0.7796 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.243e-05/0.005375, allocations: 71.7 kB / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.005376, allocations: 0 / 0.7796 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.005393, allocations: 4 kB / 0.7796 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.192e-06/0.005394, allocations: 0 / 0.7796 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-06/0.005399, allocations: 4.672 kB / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.005399, allocations: 0 / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.0054, allocations: 0.8438 kB / 0.7796 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.597e-05/0.005466, allocations: 135.4 kB / 0.7798 GB, free: 1.527 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.642e-06/0.005473, allocations: 8.875 kB / 0.7798 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.582e-06/0.005479, allocations: 0 / 0.7798 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.565e-05/0.005505, allocations: 4.938 kB / 0.7798 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.297e-05/0.005528, allocations: 0 / 0.7798 GB, free: 1.516 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.00553, allocations: 4 kB / 0.7798 GB, free: 1.512 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.39e-05/0.005544, allocations: 25.86 kB / 0.7798 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005544, allocations: 0 / 0.7798 GB, free: 1.484 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001248/0.005669, allocations: 15.94 kB / 0.7798 GB, free: 1.469 MB / 0.7292 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.848e-05/0.005768, allocations: 101.1 kB / 0.7799 GB, free: 1.363 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.004e-05/0.005818, allocations: 13.8 kB / 0.7799 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.005822, allocations: 0.7188 kB / 0.7799 GB, free: 1.348 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.347e-05/0.005835, allocations: 8.859 kB / 0.78 GB, free: 1.336 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001205/0.005956, allocations: 9.844 kB / 0.78 GB, free: 1.328 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001895/0.006145, allocations: 136.9 kB / 0.7801 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.849e-05/0.006184, allocations: 60.45 kB / 0.7802 GB, free: 1.086 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.779e-05/0.006222, allocations: 55.36 kB / 0.7802 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.006222, allocations: 0 / 0.7802 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of Templates: time 0.001315/0.007536, allocations: 0.7163 MB / 0.7809 GB, free: 348 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower > Buildings_13_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.568767927587032]