Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0009884/0.0009884, allocations: 80.81 kB / 21.55 MB, free: 2.949 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.001186/0.001186, allocations: 164.9 kB / 24.96 MB, free: 8.609 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.9924/0.9924, allocations: 177.1 MB / 205.4 MB, free: 5.492 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.901/1.901, allocations: 389.6 MB / 0.6362 GB, free: 12.29 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.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,tolerance=1e-08,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.776 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.26e-05/2.44e-05, allocations: 2.312 kB / 0.776 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.00213/0.002154, allocations: 0.6739 MB / 0.7767 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006742/0.002829, allocations: 320.6 kB / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.002854, allocations: 0 / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.593e-05/0.00288, allocations: 1.125 kB / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.933e-05/0.002909, allocations: 0.5469 kB / 0.777 GB, free: 4.355 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004649/0.003374, allocations: 94.19 kB / 0.7771 GB, free: 4.266 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.508e-05/0.003429, allocations: 9.531 kB / 0.7771 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.003469, allocations: 4 kB / 0.7771 GB, free: 4.254 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.557e-05/0.003504, allocations: 10.06 kB / 0.7771 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.003553, allocations: 0 / 0.7771 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.502e-05/0.003568, allocations: 0.875 kB / 0.7771 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00047/0.004038, allocations: 284.1 kB / 0.7774 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.414e-05/0.004053, allocations: 0.75 kB / 0.7774 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.574e-05/0.004068, allocations: 1.094 kB / 0.7774 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.004288, allocations: 126.3 kB / 0.7775 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.215e-06/0.00429, allocations: 4 kB / 0.7775 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.91e-07/0.004291, allocations: 0 / 0.7775 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.004294, allocations: 0 / 0.7775 GB, free: 3.844 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002926/0.004587, allocations: 241.4 kB / 0.7777 GB, free: 3.582 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.004629, allocations: 11.5 kB / 0.7777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.269e-05/0.004701, allocations: 8.938 kB / 0.7778 GB, free: 3.566 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.004803, allocations: 106.1 kB / 0.7779 GB, free: 3.438 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.004815, allocations: 4.375 kB / 0.7779 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.004834, allocations: 4.328 kB / 0.7779 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.884e-05/0.004922, allocations: 59.95 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.00493, allocations: 192 / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-06/0.004938, allocations: 3.625 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.375e-06/0.004946, allocations: 1.031 kB / 0.7779 GB, free: 3.359 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.708e-05/0.004963, allocations: 7.938 kB / 0.7779 GB, free: 3.352 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000108/0.005071, allocations: 65.02 kB / 0.778 GB, free: 3.273 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.236e-05/0.005114, allocations: 26.55 kB / 0.778 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.359e-05/0.005127, allocations: 8.859 kB / 0.778 GB, free: 3.227 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003815/0.005509, allocations: 71.02 kB / 0.7781 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.005535, allocations: 35.88 kB / 0.7781 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.005536, allocations: 0 / 0.7781 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0004737/0.00601, allocations: 174.9 kB / 0.7783 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.666e-05/0.006037, allocations: 51.41 kB / 0.7783 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.243e-05/0.006099, allocations: 100.1 kB / 0.7784 GB, free: 2.742 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.006112, allocations: 26.58 kB / 0.7785 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.767e-05/0.006139, allocations: 84.12 kB / 0.7785 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.679e-05/0.006166, allocations: 12.56 kB / 0.7786 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.006199, allocations: 21.7 kB / 0.7786 GB, free: 2.586 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.331e-05/0.006292, allocations: 315.9 kB / 0.7789 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.006305, allocations: 7.984 kB / 0.7789 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.165e-05/0.006327, allocations: 17.66 kB / 0.7789 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.233e-05/0.006359, allocations: 14.78 kB / 0.7789 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.00636, allocations: 5.812 kB / 0.7789 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.69e-05/0.006457, allocations: 46.41 kB / 0.779 GB, free: 2.164 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.006471, allocations: 4.531 kB / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.006476, allocations: 0 / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.006489, allocations: 1 kB / 0.779 GB, free: 2.16 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.47e-05/0.006544, allocations: 11.98 kB / 0.779 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.006547, allocations: 0 / 0.779 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.612e-05/0.006563, allocations: 1.109 kB / 0.779 GB, free: 2.148 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.258e-06/0.006572, allocations: 7.938 kB / 0.779 GB, free: 2.141 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 6.549e-05/0.006638, allocations: 114.5 kB / 0.7791 GB, free: 2.02 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.67e-05/0.006674, allocations: 12.52 kB / 0.7791 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001101/0.006784, allocations: 55.08 kB / 0.7792 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.006787, allocations: 1.094 kB / 0.7792 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.893e-06/0.006789, allocations: 0 / 0.7792 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.006791, allocations: 0 / 0.7792 GB, free: 1.953 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.386e-05/0.006865, allocations: 71.33 kB / 0.7792 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.006867, allocations: 0 / 0.7792 GB, free: 1.867 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.225e-05/0.00691, allocations: 4 kB / 0.7792 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.006912, allocations: 0 / 0.7792 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.013e-06/0.006919, allocations: 9.047 kB / 0.7792 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.006921, allocations: 0 / 0.7792 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.006922, allocations: 0 / 0.7792 GB, free: 1.855 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001258/0.007048, allocations: 74.86 kB / 0.7793 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.883e-06/0.007055, allocations: 0 / 0.7793 GB, free: 1.766 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.007069, allocations: 4 kB / 0.7793 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/0.007092, allocations: 1.219 kB / 0.7793 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.445e-05/0.007107, allocations: 3.984 kB / 0.7793 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.007112, allocations: 0 / 0.7793 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.196e-05/0.007124, allocations: 9.891 kB / 0.7793 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of sort global known variables: time 9.1e-08/0.007124, allocations: 0.7656 kB / 0.7793 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001897/0.007314, allocations: 25.25 kB / 0.7794 GB, free: 1.723 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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 0.0001888/0.007502, allocations: 116.3 kB / 0.7795 GB, free: 1.602 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.143e-05/0.007584, allocations: 13.89 kB / 0.7795 GB, free: 1.586 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.007587, allocations: 3.938 kB / 0.7795 GB, free: 1.582 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.53e-05/0.007603, allocations: 15.09 kB / 0.7795 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.325e-05/0.007676, allocations: 11.88 kB / 0.7795 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002136/0.00789, allocations: 100.8 kB / 0.7796 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.337e-05/0.007923, allocations: 52.86 kB / 0.7797 GB, free: 1.359 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.176e-05/0.007955, allocations: 4 kB / 0.7797 GB, free: 1.355 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/0.008007, allocations: 56.39 kB / 0.7797 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of SimCode: time 6.62e-07/0.008008, allocations: 0 / 0.7797 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of Templates: time 0.003556/0.01156, allocations: 1.038 MB / 0.7807 GB, free: 320 kB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.044237203896046]