Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.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.0008914/0.0008914, allocations: 79.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.0009702/0.0009702, 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.9816/0.9816, allocations: 177.2 MB / 205.6 MB, free: 5.387 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.935/1.935, allocations: 389.5 MB / 0.6364 GB, free: 12.2 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.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 0.7756 GB, free: 5.926 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.34e-05/1.51e-05, allocations: 2.312 kB / 0.7756 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001081/0.001096, allocations: 0.6588 MB / 0.7762 GB, free: 5.289 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0004748/0.001571, allocations: 297.5 kB / 0.7765 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.475e-05/0.001586, allocations: 0 / 0.7765 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.321e-05/0.001599, allocations: 0 / 0.7765 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.302e-06/0.001605, allocations: 0 / 0.7765 GB, free: 5.004 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003103/0.001915, allocations: 91.72 kB / 0.7766 GB, free: 4.918 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 3.852e-05/0.001954, allocations: 5.094 kB / 0.7766 GB, free: 4.914 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.197e-05/0.001986, allocations: 4 kB / 0.7766 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 2.843e-05/0.002014, allocations: 0 / 0.7766 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 2.082e-05/0.002035, allocations: 0 / 0.7766 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.002045, allocations: 0 / 0.7766 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003113/0.002357, allocations: 283.6 kB / 0.7769 GB, free: 4.633 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.088e-05/0.002368, allocations: 4 kB / 0.7769 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.185e-05/0.002379, allocations: 1.094 kB / 0.7769 GB, free: 4.629 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001404/0.00252, allocations: 111.5 kB / 0.777 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.174e-06/0.002522, allocations: 0 / 0.777 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002522, allocations: 4 kB / 0.777 GB, free: 4.52 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.002526, allocations: 0 / 0.777 GB, free: 4.52 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001778/0.002704, allocations: 237.2 kB / 0.7772 GB, free: 4.262 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.00274, allocations: 9.344 kB / 0.7772 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.303e-05/0.002793, allocations: 4.938 kB / 0.7772 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.955e-05/0.002843, allocations: 106.7 kB / 0.7773 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.758e-06/0.002852, allocations: 4.359 kB / 0.7773 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/0.002861, allocations: 4.375 kB / 0.7774 GB, free: 4.113 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.341e-05/0.002915, allocations: 29.2 kB / 0.7774 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.019e-06/0.00292, allocations: 192 / 0.7774 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.079e-06/0.002925, allocations: 384 / 0.7774 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.002929, allocations: 384 / 0.7774 GB, free: 4.082 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.102e-05/0.00294, allocations: 11.88 kB / 0.7774 GB, free: 4.07 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.267e-05/0.003002, allocations: 57.86 kB / 0.7774 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 2.573e-05/0.003028, allocations: 18.61 kB / 0.7775 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.747e-06/0.003037, allocations: 8.859 kB / 0.7775 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001966/0.003233, allocations: 42.06 kB / 0.7775 GB, free: 3.922 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.003253, allocations: 35.55 kB / 0.7775 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.003254, allocations: 0 / 0.7775 GB, free: 3.879 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 8.815e-05/0.003342, allocations: 39.22 kB / 0.7776 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.495e-05/0.003367, allocations: 55.41 kB / 0.7776 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.386e-05/0.003391, allocations: 94.38 kB / 0.7777 GB, free: 3.668 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.614e-06/0.003399, allocations: 26.64 kB / 0.7778 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.788e-05/0.003417, allocations: 80.14 kB / 0.7778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.149e-05/0.003438, allocations: 0.8438 kB / 0.7778 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.747e-05/0.003456, allocations: 13.72 kB / 0.7778 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.003518, allocations: 319.6 kB / 0.7781 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.657e-06/0.003522, allocations: 0 / 0.7781 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.797e-06/0.003526, allocations: 2.656 kB / 0.7782 GB, free: 3.215 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.642e-05/0.003542, allocations: 8.859 kB / 0.7782 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.003543, allocations: 0 / 0.7782 GB, free: 3.203 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.986e-05/0.003583, allocations: 34.33 kB / 0.7782 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.041e-05/0.003594, allocations: 8 kB / 0.7782 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.003597, allocations: 0.5625 kB / 0.7782 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.013e-06/0.003604, allocations: 1.781 kB / 0.7782 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.675e-05/0.003631, allocations: 0 / 0.7782 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.003635, allocations: 9.062 kB / 0.7782 GB, free: 3.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.156e-05/0.003647, allocations: 11.95 kB / 0.7782 GB, free: 3.137 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.003652, allocations: 0 / 0.7782 GB, free: 3.137 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 (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 4.093e-05/0.003693, allocations: 110.5 kB / 0.7783 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.125e-05/0.003704, allocations: 4 kB / 0.7783 GB, free: 3.016 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.003751, allocations: 38.7 kB / 0.7784 GB, free: 2.973 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.003753, allocations: 4 kB / 0.7784 GB, free: 2.969 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.017e-06/0.003757, allocations: 7.969 kB / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.00376, allocations: 0 / 0.7784 GB, free: 2.961 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.804e-05/0.003798, allocations: 62.72 kB / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.72e-07/0.003798, allocations: 0.6562 kB / 0.7784 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.124e-06/0.003805, allocations: 4.875 kB / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.003806, allocations: 0 / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-06/0.003809, allocations: 0 / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.003809, allocations: 0.5625 kB / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.00381, allocations: 0.5625 kB / 0.7784 GB, free: 2.879 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.361e-05/0.003854, allocations: 63.03 kB / 0.7785 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-06/0.003857, allocations: 3.984 kB / 0.7785 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.129e-06/0.003862, allocations: 0 / 0.7785 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.357e-06/0.003865, allocations: 0 / 0.7785 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.265e-06/0.003874, allocations: 9.25 kB / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.232e-06/0.003875, allocations: 0 / 0.7785 GB, free: 2.789 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.099e-06/0.00388, allocations: 5.734 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.00388, allocations: 0.625 kB / 0.7785 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of remove unused functions: time 9.551e-05/0.003976, allocations: 11.94 kB / 0.7785 GB, free: 2.77 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 (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 Backend phase and start with SimCode phase: time 9.273e-05/0.004068, allocations: 97.97 kB / 0.7786 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 3.577e-05/0.004104, allocations: 8.859 kB / 0.7786 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.004107, allocations: 0.5 kB / 0.7786 GB, free: 2.656 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.48e-06/0.004113, allocations: 9.781 kB / 0.7786 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.531e-05/0.004148, allocations: 10.83 kB / 0.7787 GB, free: 2.637 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001098/0.004258, allocations: 97.08 kB / 0.7788 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.127e-05/0.004289, allocations: 55.36 kB / 0.7788 GB, free: 2.434 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.291e-05/0.004312, allocations: 48.22 kB / 0.7789 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of SimCode: time 4.81e-07/0.004313, allocations: 3.938 kB / 0.7789 GB, free: 2.383 MB / 0.7292 GB Notification: Performance of Templates: time 0.001087/0.0054, allocations: 475.2 kB / 0.7793 GB, free: 1.934 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.593838958069682]