Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.574/1.574, allocations: 292.3 MB / 308.1 MB, free: 4.297 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001272/0.001272, allocations: 191.4 kB / 376.9 MB, free: 1.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.298/1.298, allocations: 205.1 MB / 0.6354 GB, free: 9.82 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009238/0.0009238, allocations: 99.33 kB / 0.748 GB, free: 60.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001089/0.001089, allocations: 59.91 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2203/0.2214, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower): time 0.001806/0.2233, allocations: 0.6549 MB / 0.9829 GB, free: 9.734 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0006787/0.224, allocations: 354.9 kB / 0.9832 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.009e-05/0.224, allocations: 0 / 0.9832 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.749e-05/0.2241, allocations: 0 / 0.9832 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-06/0.2241, allocations: 3.938 kB / 0.9832 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003875/0.2245, allocations: 75.84 kB / 0.9833 GB, free: 9.309 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.698e-05/0.2245, allocations: 3.984 kB / 0.9833 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.523e-05/0.2246, allocations: 0 / 0.9833 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.338e-05/0.2246, allocations: 0 / 0.9833 GB, free: 9.305 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 1.888e-05/0.2247, allocations: 4 kB / 0.9833 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.2247, allocations: 0 / 0.9833 GB, free: 9.301 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003872/0.2251, allocations: 271.6 kB / 0.9836 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.042e-05/0.2251, allocations: 0 / 0.9836 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.984e-05/0.2251, allocations: 4 kB / 0.9836 GB, free: 9.031 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001933/0.2253, allocations: 87.84 kB / 0.9836 GB, free: 8.945 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.081e-06/0.2253, allocations: 4 kB / 0.9836 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of FrontEnd: time 6.91e-07/0.2253, allocations: 0 / 0.9836 GB, free: 8.941 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.2253, allocations: 0 / 0.9836 GB, free: 8.941 MB / 0.7136 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.0003349/0.2257, allocations: 331.6 kB / 0.984 GB, free: 8.566 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.424e-05/0.2257, allocations: 11.97 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.281e-05/0.2258, allocations: 0.9375 kB / 0.984 GB, free: 8.555 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.717e-05/0.2259, allocations: 164.4 kB / 0.9841 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.2259, allocations: 384 / 0.9841 GB, free: 8.355 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.816e-06/0.2259, allocations: 8.375 kB / 0.9841 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.517e-05/0.226, allocations: 30.27 kB / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.226, allocations: 192 / 0.9842 GB, free: 8.312 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.226, allocations: 3.938 kB / 0.9842 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.958e-06/0.226, allocations: 0 / 0.9842 GB, free: 8.309 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.007e-05/0.2261, allocations: 7.938 kB / 0.9842 GB, free: 8.301 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001487/0.2262, allocations: 145.7 kB / 0.9843 GB, free: 8.109 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.152e-05/0.2263, allocations: 26.55 kB / 0.9843 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.189e-05/0.2263, allocations: 8.859 kB / 0.9844 GB, free: 8.062 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004651/0.2268, allocations: 421.6 kB / 0.9848 GB, free: 7.559 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.2268, allocations: 34.56 kB / 0.9848 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.2268, allocations: 0 / 0.9848 GB, free: 7.516 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001289/0.2269, allocations: 37.7 kB / 0.9848 GB, free: 7.473 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.552e-05/0.227, allocations: 55.41 kB / 0.9849 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.499e-05/0.227, allocations: 97.84 kB / 0.985 GB, free: 7.301 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.548e-06/0.227, allocations: 25.7 kB / 0.985 GB, free: 7.27 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.033e-05/0.227, allocations: 80.14 kB / 0.9851 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.2271, allocations: 3.906 kB / 0.9851 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.577e-05/0.2271, allocations: 13.72 kB / 0.9851 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.92e-05/0.2272, allocations: 314.8 kB / 0.9854 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.017e-06/0.2272, allocations: 4 kB / 0.9854 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-06/0.2272, allocations: 0 / 0.9854 GB, free: 6.844 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.092e-05/0.2273, allocations: 8.859 kB / 0.9854 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2273, allocations: 0 / 0.9854 GB, free: 6.832 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.264e-05/0.2273, allocations: 37.62 kB / 0.9854 GB, free: 6.789 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.396e-05/0.2274, allocations: 8 kB / 0.9854 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-06/0.2274, allocations: 0 / 0.9854 GB, free: 6.781 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.202e-05/0.2274, allocations: 3.938 kB / 0.9854 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.421e-05/0.2274, allocations: 0 / 0.9854 GB, free: 6.777 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2274, allocations: 4.094 kB / 0.9854 GB, free: 6.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.917e-06/0.2274, allocations: 3.938 kB / 0.9855 GB, free: 6.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.378e-06/0.2275, allocations: 4 kB / 0.9855 GB, free: 6.766 MB / 0.7136 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 5.452e-05/0.2275, allocations: 109.8 kB / 0.9856 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.746e-05/0.2275, allocations: 0 / 0.9856 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.14e-05/0.2276, allocations: 40.75 kB / 0.9856 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.2276, allocations: 7.938 kB / 0.9856 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.2276, allocations: 0 / 0.9856 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.2276, allocations: 4.031 kB / 0.9856 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.283e-05/0.2277, allocations: 141.7 kB / 0.9857 GB, free: 6.406 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.2277, allocations: 4 kB / 0.9858 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.471e-05/0.2278, allocations: 11.98 kB / 0.9858 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.2278, allocations: 0 / 0.9858 GB, free: 6.391 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.333e-06/0.2278, allocations: 3.938 kB / 0.9858 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2278, allocations: 0 / 0.9858 GB, free: 6.387 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.2278, allocations: 3.984 kB / 0.9858 GB, free: 6.383 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003003/0.2281, allocations: 0.6045 MB / 0.9864 GB, free: 5.719 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.2281, allocations: 77.39 kB / 0.9864 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.122e-05/0.2282, allocations: 0 / 0.9864 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.482e-06/0.2282, allocations: 0 / 0.9864 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/0.2282, allocations: 3.938 kB / 0.9864 GB, free: 5.621 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.2282, allocations: 4 kB / 0.9864 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.618e-05/0.2282, allocations: 75.28 kB / 0.9865 GB, free: 5.543 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2282, allocations: 4.031 kB / 0.9865 GB, free: 5.539 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002863/0.2285, allocations: 11.98 kB / 0.9865 GB, free: 5.527 MB / 0.7136 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 0.0001827/0.2287, allocations: 111.2 kB / 0.9866 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.682e-05/0.2288, allocations: 8 kB / 0.9866 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/0.2288, allocations: 0 / 0.9866 GB, free: 5.398 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 6.131e-06/0.2288, allocations: 3.938 kB / 0.9866 GB, free: 5.395 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/0.2289, allocations: 19.84 kB / 0.9867 GB, free: 5.375 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002067/0.2291, allocations: 177.8 kB / 0.9868 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002204/0.2294, allocations: 0.6692 MB / 0.9875 GB, free: 4.469 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.923e-05/0.2294, allocations: 4 kB / 0.9875 GB, free: 4.465 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.01e-05/0.2294, allocations: 7.438 kB / 0.9875 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of SimCode: time 2.1e-07/0.2294, allocations: 0 / 0.9875 GB, free: 4.457 MB / 0.7136 GB Notification: Performance of Templates: time 0.001866/0.2313, allocations: 460.5 kB / 0.9879 GB, free: 4.008 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPower.pipe 2>&1)