Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") translateModel(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 91.69 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008783/0.008783, allocations: 169.9 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.334/1.334, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001642/0.001642, allocations: 258.2 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9562/0.9562, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.0006438, allocations: 18.09 kB / 0.5987 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2271/0.2278, allocations: 88.55 MB / 0.6851 GB, free: 15.06 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.RegNonZeroPower): time 0.001761/0.2296, allocations: 1.161 MB / 0.6863 GB, free: 13.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007301/0.2304, allocations: 408.1 kB / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.269e-05/0.2304, allocations: 0 / 0.6866 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.954e-05/0.2304, allocations: 1.062 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.364e-05/0.2305, allocations: 3.938 kB / 0.6867 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003501/0.2308, allocations: 75.72 kB / 0.6867 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.626e-05/0.2309, allocations: 27.92 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.768e-05/0.231, allocations: 4 kB / 0.6868 GB, free: 13.39 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.71e-05/0.231, allocations: 11.94 kB / 0.6868 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.458e-05/0.2311, allocations: 7.922 kB / 0.6868 GB, free: 13.37 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.2311, allocations: 7.984 kB / 0.6868 GB, free: 13.36 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003775/0.2315, allocations: 276.1 kB / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.185e-05/0.2315, allocations: 0 / 0.687 GB, free: 13.09 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.917e-05/0.2316, allocations: 34.27 kB / 0.6871 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001953/0.2318, allocations: 104.6 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.2318, allocations: 0 / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.2318, allocations: 1.156 kB / 0.6872 GB, free: 12.95 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.887e-06/0.2318, allocations: 0 / 0.6872 GB, free: 12.95 MB / 494.1 MB 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.0005026/0.2323, allocations: 365.7 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/0.2324, allocations: 8.031 kB / 0.6875 GB, free: 12.54 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.524e-05/0.2325, allocations: 8.844 kB / 0.6875 GB, free: 12.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.2326, allocations: 160.9 kB / 0.6877 GB, free: 12.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.095e-05/0.2326, allocations: 9.062 kB / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.22e-05/0.2326, allocations: 384 / 0.6877 GB, free: 12.32 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001934/0.2328, allocations: 61.08 kB / 0.6878 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.2328, allocations: 4.172 kB / 0.6878 GB, free: 12.26 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.2329, allocations: 7.938 kB / 0.6878 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.2329, allocations: 0 / 0.6878 GB, free: 12.25 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001911/0.2331, allocations: 51.3 kB / 0.6878 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.2334, allocations: 252.8 kB / 0.6881 GB, free: 11.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001442/0.2336, allocations: 48.89 kB / 0.6881 GB, free: 11.85 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.64e-05/0.2337, allocations: 33.62 kB / 0.6881 GB, free: 11.82 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006984/0.2344, allocations: 464.5 kB / 0.6886 GB, free: 11.27 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.392e-05/0.2345, allocations: 31.47 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.2345, allocations: 7.938 kB / 0.6886 GB, free: 11.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0004026/0.2349, allocations: 97.64 kB / 0.6887 GB, free: 11.12 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.878e-05/0.2349, allocations: 55.53 kB / 0.6888 GB, free: 11.06 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.386e-05/0.235, allocations: 101.9 kB / 0.6889 GB, free: 10.95 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.235, allocations: 25.7 kB / 0.6889 GB, free: 10.92 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.2351, allocations: 88.12 kB / 0.689 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.2351, allocations: 7.906 kB / 0.689 GB, free: 10.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.267e-05/0.2351, allocations: 9.719 kB / 0.689 GB, free: 10.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001217/0.2353, allocations: 314.8 kB / 0.6893 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.2354, allocations: 27.92 kB / 0.6893 GB, free: 10.46 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.173e-05/0.2354, allocations: 23.97 kB / 0.6893 GB, free: 10.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001669/0.2356, allocations: 52.89 kB / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.2356, allocations: 0 / 0.6894 GB, free: 10.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000231/0.2359, allocations: 77.59 kB / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.2359, allocations: 4 kB / 0.6895 GB, free: 10.3 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.2359, allocations: 4.031 kB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.2359, allocations: 4 kB / 0.6895 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.989e-05/0.236, allocations: 15.98 kB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.436e-06/0.236, allocations: 0 / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.884e-05/0.2361, allocations: 7.938 kB / 0.6895 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.203e-06/0.2361, allocations: 4 kB / 0.6895 GB, free: 10.26 MB / 494.1 MB 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 7.871e-05/0.2362, allocations: 119.1 kB / 0.6896 GB, free: 10.14 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.687e-05/0.2362, allocations: 3.906 kB / 0.6896 GB, free: 10.13 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002567/0.2365, allocations: 85.44 kB / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.2365, allocations: 0 / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2365, allocations: 4 kB / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.2365, allocations: 4.031 kB / 0.6897 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001583/0.2367, allocations: 161.6 kB / 0.6899 GB, free: 9.828 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.515e-06/0.2367, allocations: 4 kB / 0.6899 GB, free: 9.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.875e-05/0.2368, allocations: 8 kB / 0.6899 GB, free: 9.816 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.2368, allocations: 3.938 kB / 0.6899 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.513e-06/0.2368, allocations: 0 / 0.6899 GB, free: 9.812 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.2368, allocations: 3.984 kB / 0.6899 GB, free: 9.809 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.2368, allocations: 3.984 kB / 0.6899 GB, free: 9.805 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002616/0.2371, allocations: 179.4 kB / 0.6901 GB, free: 9.613 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.204e-05/0.2371, allocations: 81.09 kB / 0.6901 GB, free: 9.516 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.2371, allocations: 3.938 kB / 0.6901 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.024e-05/0.2372, allocations: 12.03 kB / 0.6902 GB, free: 9.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.683e-05/0.2373, allocations: 3.984 kB / 0.6902 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.2373, allocations: 4 kB / 0.6902 GB, free: 9.492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.493e-05/0.2373, allocations: 83.28 kB / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2373, allocations: 0 / 0.6902 GB, free: 9.41 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002251/0.2375, allocations: 12 kB / 0.6903 GB, free: 9.398 MB / 494.1 MB 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 0.0001631/0.2377, allocations: 111.2 kB / 0.6904 GB, free: 9.281 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.2379, allocations: 55.91 kB / 0.6904 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.238, allocations: 0 / 0.6904 GB, free: 9.227 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.294e-05/0.2381, allocations: 23.97 kB / 0.6904 GB, free: 9.203 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002494/0.2383, allocations: 16.06 kB / 0.6905 GB, free: 9.188 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002425/0.2386, allocations: 119.2 kB / 0.6906 GB, free: 9.051 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/0.2388, allocations: 0.6731 MB / 0.6912 GB, free: 8.352 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.089e-05/0.2389, allocations: 0 / 0.6912 GB, free: 8.352 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.968e-05/0.2389, allocations: 15.42 kB / 0.6912 GB, free: 8.336 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.2389, allocations: 0 / 0.6912 GB, free: 8.336 MB / 494.1 MB Notification: Performance of Templates: time 0.002682/0.2416, allocations: 0.6503 MB / 0.6919 GB, free: 7.691 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)