Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower") translateModel(Buildings.Utilities.Math.Examples.RegNonZeroPower,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001492/0.001492, allocations: 108.3 kB / 15.99 MB, free: 6.359 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.001668/0.001668, allocations: 189.2 kB / 16.91 MB, free: 6.195 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.64/1.64, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.627/1.627, allocations: 292.3 MB / 0.5492 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001367/0.001367, allocations: 67.36 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 114.5 MB / 0.7835 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.002691/0.2428, allocations: 1.491 MB / 0.785 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007185/0.2436, allocations: 392.7 kB / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.2436, allocations: 0 / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.2436, allocations: 0 / 0.7853 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.391e-05/0.2437, allocations: 3.938 kB / 0.7853 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004338/0.2441, allocations: 96.84 kB / 0.7854 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.463e-05/0.2442, allocations: 31.86 kB / 0.7855 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.552e-05/0.2443, allocations: 7.984 kB / 0.7855 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.2444, allocations: 11.98 kB / 0.7855 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.796e-05/0.2444, allocations: 11.94 kB / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2444, allocations: 0 / 0.7855 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003559/0.2448, allocations: 279.6 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.2448, allocations: 7.984 kB / 0.7858 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.225e-05/0.2448, allocations: 11.94 kB / 0.7858 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.245, allocations: 75.81 kB / 0.7859 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.245, allocations: 0 / 0.7859 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.245, allocations: 0 / 0.7859 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.34e-06/0.245, allocations: 0 / 0.7859 GB, free: 11.48 MB / 0.6075 GB 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.0004997/0.2455, allocations: 367.7 kB / 0.7862 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/0.2456, allocations: 8.031 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.479e-05/0.2456, allocations: 4.938 kB / 0.7862 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001295/0.2458, allocations: 164.3 kB / 0.7864 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.28e-05/0.2458, allocations: 8.375 kB / 0.7864 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.857e-06/0.2458, allocations: 384 / 0.7864 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001785/0.246, allocations: 54.17 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.246, allocations: 192 / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.42e-05/0.246, allocations: 7.938 kB / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.246, allocations: 0 / 0.7864 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.2462, allocations: 35.95 kB / 0.7865 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003135/0.2465, allocations: 248.9 kB / 0.7867 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.2467, allocations: 46.53 kB / 0.7868 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.608e-05/0.2468, allocations: 16.91 kB / 0.7868 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007207/0.2475, allocations: 469.4 kB / 0.7872 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2475, allocations: 30.56 kB / 0.7872 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.2475, allocations: 0 / 0.7872 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003776/0.2479, allocations: 85.64 kB / 0.7873 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.649e-05/0.2479, allocations: 51.41 kB / 0.7874 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.644e-05/0.248, allocations: 105.8 kB / 0.7875 GB, free: 9.527 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.914e-05/0.2481, allocations: 25.7 kB / 0.7875 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.621e-05/0.2481, allocations: 95.98 kB / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.2481, allocations: 0 / 0.7876 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.207e-05/0.2482, allocations: 13.72 kB / 0.7876 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.2483, allocations: 315 kB / 0.7879 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.582e-05/0.2484, allocations: 19.97 kB / 0.7879 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.333e-05/0.2485, allocations: 27.86 kB / 0.788 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001415/0.2486, allocations: 32.83 kB / 0.788 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.2486, allocations: 4 kB / 0.788 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001957/0.2488, allocations: 77.56 kB / 0.7881 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.2489, allocations: 6.812 kB / 0.7881 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.2489, allocations: 0 / 0.7881 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.2489, allocations: 0 / 0.7881 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.725e-05/0.249, allocations: 11.98 kB / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.643e-06/0.249, allocations: 0 / 0.7881 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.712e-05/0.2491, allocations: 11.92 kB / 0.7881 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.292e-06/0.2491, allocations: 4.031 kB / 0.7881 GB, free: 8.863 MB / 0.6075 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 (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 8.994e-05/0.2492, allocations: 117.7 kB / 0.7882 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.614e-05/0.2492, allocations: 4 kB / 0.7882 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002307/0.2494, allocations: 73.19 kB / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-06/0.2495, allocations: 0 / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2495, allocations: 0 / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.2495, allocations: 0 / 0.7883 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000164/0.2496, allocations: 165.6 kB / 0.7884 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.2496, allocations: 0 / 0.7884 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.621e-05/0.2497, allocations: 11.98 kB / 0.7885 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2497, allocations: 0 / 0.7885 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.2497, allocations: 0 / 0.7885 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.2497, allocations: 256 / 0.7885 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.2497, allocations: 0 / 0.7885 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000251/0.25, allocations: 179.3 kB / 0.7886 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.862e-05/0.25, allocations: 81.11 kB / 0.7887 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.221e-05/0.2501, allocations: 0 / 0.7887 GB, free: 8.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.44e-05/0.2501, allocations: 7.984 kB / 0.7887 GB, free: 8.133 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.243e-05/0.2502, allocations: 3.984 kB / 0.7887 GB, free: 8.129 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.839e-06/0.2502, allocations: 4 kB / 0.7887 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.725e-05/0.2502, allocations: 83.28 kB / 0.7888 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2502, allocations: 0 / 0.7888 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002336/0.2505, allocations: 24.02 kB / 0.7888 GB, free: 8.02 MB / 0.6075 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 (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.0001756/0.2507, allocations: 107.2 kB / 0.7889 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002141/0.2509, allocations: 47.89 kB / 0.789 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2509, allocations: 3.938 kB / 0.789 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.946e-05/0.251, allocations: 15.98 kB / 0.789 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003051/0.2513, allocations: 8.062 kB / 0.789 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002868/0.2516, allocations: 147.2 kB / 0.7891 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002537/0.2519, allocations: 0.6768 MB / 0.7898 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.273e-05/0.2519, allocations: 7.438 kB / 0.7898 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2519, allocations: 0 / 0.7898 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of Templates: time 0.002076/0.254, allocations: 0.7168 MB / 0.7905 GB, free: 6.23 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.RegNonZeroPower.pipe 2>&1)