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.001102/0.001102, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001263/0.001263, allocations: 193.8 kB / 16.13 MB, free: 6.66 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.378/1.378, allocations: 205.1 MB / 222 MB, free: 4.73 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.644/1.644, allocations: 292.2 MB / 0.5484 GB, free: 13.67 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.001272/0.001272, allocations: 70.44 kB / 0.6708 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2108/0.2121, allocations: 114.5 MB / 0.7827 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.RegNonZeroPower): time 0.003309/0.2155, allocations: 1.499 MB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007436/0.2162, allocations: 412.7 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.41e-05/0.2163, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.938e-05/0.2163, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.323e-05/0.2164, allocations: 11.92 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003154/0.2167, allocations: 71.86 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.134e-05/0.2168, allocations: 31.86 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.543e-05/0.2168, allocations: 3.984 kB / 0.7846 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.229e-05/0.2169, allocations: 11.98 kB / 0.7846 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.087e-05/0.2169, allocations: 11.92 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2169, allocations: 4 kB / 0.7847 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003408/0.2173, allocations: 271.7 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.381e-05/0.2173, allocations: 4 kB / 0.7849 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.668e-05/0.2173, allocations: 15.92 kB / 0.7849 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002173/0.2176, allocations: 103.8 kB / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.2176, allocations: 0 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 8.62e-07/0.2176, allocations: 0 / 0.785 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.198e-06/0.2176, allocations: 0 / 0.785 GB, free: 11.59 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.0005332/0.2181, allocations: 363.7 kB / 0.7854 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.541e-05/0.2182, allocations: 12.03 kB / 0.7854 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.937e-05/0.2182, allocations: 8.875 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001373/0.2184, allocations: 168.3 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.308e-05/0.2184, allocations: 384 / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.2184, allocations: 4.375 kB / 0.7856 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001945/0.2186, allocations: 54.17 kB / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.2186, allocations: 192 / 0.7856 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.361e-05/0.2187, allocations: 3.938 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.2187, allocations: 3.938 kB / 0.7856 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001711/0.2189, allocations: 39.95 kB / 0.7857 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003014/0.2192, allocations: 245 kB / 0.7859 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001252/0.2193, allocations: 46.44 kB / 0.7859 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.316e-05/0.2194, allocations: 20.91 kB / 0.786 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000662/0.2201, allocations: 461.5 kB / 0.7864 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.2201, allocations: 34.56 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.2201, allocations: 0 / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003628/0.2205, allocations: 85.62 kB / 0.7865 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2205, allocations: 55.41 kB / 0.7866 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.867e-05/0.2206, allocations: 101.8 kB / 0.7867 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.2206, allocations: 29.7 kB / 0.7867 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.2207, allocations: 88.05 kB / 0.7868 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.625e-05/0.2207, allocations: 8 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.251e-05/0.2207, allocations: 21.72 kB / 0.7868 GB, free: 9.473 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.2208, allocations: 314.8 kB / 0.7871 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.396e-05/0.2209, allocations: 15.98 kB / 0.7871 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.668e-05/0.221, allocations: 15.98 kB / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001552/0.2212, allocations: 44.88 kB / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.2212, allocations: 0 / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/0.2214, allocations: 73.52 kB / 0.7873 GB, free: 9 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.2214, allocations: 4 kB / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.2215, allocations: 0 / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.607e-05/0.2215, allocations: 0 / 0.7873 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.925e-05/0.2216, allocations: 15.92 kB / 0.7873 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.2216, allocations: 0 / 0.7873 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.057e-05/0.2216, allocations: 12.02 kB / 0.7873 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.46e-06/0.2217, allocations: 3.938 kB / 0.7873 GB, free: 8.965 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 6.086e-05/0.2217, allocations: 109.8 kB / 0.7874 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.566e-05/0.2218, allocations: 4.25 kB / 0.7874 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.222, allocations: 73.19 kB / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.222, allocations: 0 / 0.7875 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.187e-06/0.222, allocations: 8.031 kB / 0.7875 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.222, allocations: 0 / 0.7875 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001504/0.2222, allocations: 165.6 kB / 0.7876 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.2222, allocations: 0 / 0.7876 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.755e-05/0.2223, allocations: 11.98 kB / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.2223, allocations: 0 / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2223, allocations: 0 / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2223, allocations: 3.938 kB / 0.7877 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.527e-06/0.2223, allocations: 4 kB / 0.7877 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002444/0.2225, allocations: 167.4 kB / 0.7878 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.159e-05/0.2226, allocations: 85.05 kB / 0.7879 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.2226, allocations: 0 / 0.7879 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.472e-05/0.2227, allocations: 7.984 kB / 0.7879 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.2227, allocations: 0 / 0.7879 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.397e-06/0.2227, allocations: 4 kB / 0.7879 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.893e-05/0.2228, allocations: 87.3 kB / 0.788 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.3e-07/0.2228, allocations: 0 / 0.788 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002408/0.223, allocations: 20 kB / 0.788 GB, free: 8.125 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.0001589/0.2232, allocations: 107.2 kB / 0.7881 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002239/0.2234, allocations: 43.89 kB / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.2234, allocations: 0 / 0.7882 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.852e-05/0.2235, allocations: 24.05 kB / 0.7882 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/0.2238, allocations: 7.031 kB / 0.7882 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002735/0.2241, allocations: 115.2 kB / 0.7883 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000242/0.2244, allocations: 0.677 MB / 0.789 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.2244, allocations: 0 / 0.789 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.826e-05/0.2244, allocations: 7.438 kB / 0.789 GB, free: 7.094 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.2244, allocations: 4.062 kB / 0.789 GB, free: 7.09 MB / 0.6075 GB Notification: Performance of Templates: time 0.00248/0.2269, allocations: 0.6528 MB / 0.7896 GB, free: 6.438 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)