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.0009092/0.0009092, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.0009306/0.0009306, allocations: 169.3 kB / 24.25 MB, free: 208 kB / 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.9616/0.9616, allocations: 177.1 MB / 204.7 MB, free: 5.438 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.907/1.907, allocations: 389.6 MB / 0.6355 GB, free: 12.26 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.423e-06/1.423e-06, allocations: 0 / 0.7754 GB, free: 5.203 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.206e-05/2.349e-05, allocations: 2.312 kB / 0.7754 GB, free: 5.199 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001578/0.001602, allocations: 0.6707 MB / 0.7761 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0005956/0.002197, allocations: 320 kB / 0.7764 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.839e-05/0.002226, allocations: 0 / 0.7764 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.404e-05/0.00224, allocations: 0 / 0.7764 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 2.037e-05/0.00226, allocations: 4.812 kB / 0.7764 GB, free: 4.242 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.002635, allocations: 95.22 kB / 0.7765 GB, free: 4.152 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.066e-05/0.002686, allocations: 21.39 kB / 0.7765 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.526e-05/0.002721, allocations: 0 / 0.7765 GB, free: 4.133 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.122e-05/0.002753, allocations: 4.766 kB / 0.7765 GB, free: 4.129 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.371e-05/0.002806, allocations: 4.75 kB / 0.7765 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.002818, allocations: 3.969 kB / 0.7765 GB, free: 4.125 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.003139, allocations: 283.6 kB / 0.7768 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.251e-05/0.003151, allocations: 0.5469 kB / 0.7768 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.329e-05/0.003165, allocations: 0.875 kB / 0.7768 GB, free: 3.848 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001593/0.003324, allocations: 124.9 kB / 0.7769 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.003326, allocations: 0 / 0.7769 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.81e-07/0.003327, allocations: 0 / 0.7769 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.871e-06/0.003333, allocations: 0 / 0.7769 GB, free: 3.727 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.0002629/0.003596, allocations: 252.4 kB / 0.7771 GB, free: 3.453 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.003634, allocations: 8.75 kB / 0.7771 GB, free: 3.445 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.611e-05/0.0037, allocations: 4.938 kB / 0.7772 GB, free: 3.441 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.648e-05/0.003786, allocations: 103.9 kB / 0.7773 GB, free: 3.316 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.939e-06/0.003796, allocations: 5.141 kB / 0.7773 GB, free: 3.312 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.924e-05/0.003815, allocations: 4.328 kB / 0.7773 GB, free: 3.309 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.166e-05/0.003897, allocations: 59.95 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.003905, allocations: 1.25 kB / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.00391, allocations: 384 / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.003916, allocations: 384 / 0.7773 GB, free: 3.238 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.089e-05/0.003927, allocations: 8.5 kB / 0.7773 GB, free: 3.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.345e-05/0.00402, allocations: 65.48 kB / 0.7774 GB, free: 3.156 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.677e-05/0.004057, allocations: 22.55 kB / 0.7774 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.438e-05/0.004071, allocations: 8.859 kB / 0.7774 GB, free: 3.113 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002934/0.004365, allocations: 78.72 kB / 0.7775 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.607e-05/0.004391, allocations: 34.56 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.004392, allocations: 0 / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0003922/0.004784, allocations: 171.3 kB / 0.7777 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.751e-05/0.004812, allocations: 51.41 kB / 0.7777 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.581e-05/0.004868, allocations: 102.7 kB / 0.7778 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.064e-05/0.004878, allocations: 26.73 kB / 0.7779 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.202e-05/0.00491, allocations: 80.14 kB / 0.7779 GB, free: 2.508 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.022e-05/0.004931, allocations: 11.91 kB / 0.778 GB, free: 2.496 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.607e-05/0.004957, allocations: 23.62 kB / 0.778 GB, free: 2.469 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.683e-05/0.005033, allocations: 322.7 kB / 0.7783 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.586e-06/0.005042, allocations: 4.531 kB / 0.7783 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.526e-05/0.005057, allocations: 13.72 kB / 0.7783 GB, free: 2.121 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.068e-05/0.005088, allocations: 22.64 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.21e-07/0.005089, allocations: 0.875 kB / 0.7783 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.755e-05/0.005166, allocations: 47.06 kB / 0.7784 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.005179, allocations: 4 kB / 0.7784 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.249e-06/0.005184, allocations: 0 / 0.7784 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.056e-05/0.005194, allocations: 0.5469 kB / 0.7784 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.81e-05/0.005232, allocations: 8.656 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.885e-06/0.005235, allocations: 0.6875 kB / 0.7784 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.086e-05/0.005246, allocations: 4 kB / 0.7784 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.005254, allocations: 9.125 kB / 0.7784 GB, free: 2.02 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 5.69e-05/0.00531, allocations: 114.5 kB / 0.7785 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.876e-05/0.005329, allocations: 7.938 kB / 0.7785 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.196e-05/0.005411, allocations: 50.73 kB / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.005413, allocations: 0 / 0.7786 GB, free: 1.84 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.005416, allocations: 4.875 kB / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.005418, allocations: 0 / 0.7786 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.964e-05/0.005488, allocations: 74.56 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.00549, allocations: 0.6562 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.167e-05/0.005521, allocations: 5.812 kB / 0.7786 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.005524, allocations: 7.984 kB / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.737e-06/0.005528, allocations: 0 / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.005529, allocations: 0 / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.005531, allocations: 0 / 0.7786 GB, free: 1.734 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.41e-05/0.005625, allocations: 78.73 kB / 0.7787 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.414e-06/0.005632, allocations: 4 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.406e-06/0.005641, allocations: 0.5 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.643e-05/0.005657, allocations: 0 / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.107e-05/0.005668, allocations: 0.5625 kB / 0.7787 GB, free: 1.637 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.005673, allocations: 4.844 kB / 0.7787 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.376e-05/0.005687, allocations: 9.828 kB / 0.7787 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of sort global known variables: time 4e-08/0.005687, allocations: 0.9375 kB / 0.7787 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001561/0.005843, allocations: 23.94 kB / 0.7788 GB, free: 1.598 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.0001948/0.006038, allocations: 113.3 kB / 0.7789 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.77e-05/0.006106, allocations: 21.62 kB / 0.7789 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.006109, allocations: 4 kB / 0.7789 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.387e-06/0.006119, allocations: 10.55 kB / 0.7789 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 6.154e-05/0.00618, allocations: 4.484 kB / 0.7789 GB, free: 1.438 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001909/0.006371, allocations: 100.8 kB / 0.779 GB, free: 1.312 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.633e-05/0.006418, allocations: 55.34 kB / 0.7791 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.354e-05/0.006441, allocations: 5.406 kB / 0.7791 GB, free: 1.234 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.006479, allocations: 53.06 kB / 0.7791 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of SimCode: time 4.71e-07/0.00648, allocations: 4 kB / 0.7791 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of Templates: time 0.002721/0.0092, allocations: 1.031 MB / 0.7801 GB, free: 200 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.116980156861246]