Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.807/2.807, allocations: 287.5 MB / 302.4 MB, free: 8.219 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.001335/0.001335, allocations: 184.9 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.269/2.269, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009446/0.0009446, allocations: 81.69 kB / 0.743 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000506/0.0005063, allocations: 18.44 kB / 0.8659 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2299, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0008459/0.2308, allocations: 352.8 kB / 0.9788 GB, free: 27.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000723/0.2315, allocations: 319.2 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.522e-05/0.2316, allocations: 0 / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.185e-05/0.2316, allocations: 4 kB / 0.9791 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.553e-05/0.2316, allocations: 3.938 kB / 0.9791 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004345/0.2321, allocations: 75.84 kB / 0.9792 GB, free: 27.53 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.2321, allocations: 23.97 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.572e-05/0.2322, allocations: 4 kB / 0.9792 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.5e-05/0.2322, allocations: 7.938 kB / 0.9792 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.547e-05/0.2323, allocations: 15.92 kB / 0.9792 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.2323, allocations: 0 / 0.9792 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004616/0.2328, allocations: 271.6 kB / 0.9795 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.305e-05/0.2328, allocations: 11.92 kB / 0.9795 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.132e-05/0.2329, allocations: 29.7 kB / 0.9795 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001348/0.233, allocations: 63.88 kB / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.233, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.034e-06/0.233, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.988e-06/0.233, allocations: 0 / 0.9796 GB, free: 27.1 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003895/0.2334, allocations: 355.5 kB / 0.9799 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/0.2335, allocations: 12.03 kB / 0.9799 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.831e-05/0.2335, allocations: 38.56 kB / 0.98 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.753e-05/0.2336, allocations: 7.938 kB / 0.98 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.412e-05/0.2337, allocations: 167 kB / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.313e-05/0.2337, allocations: 0 / 0.9801 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.556e-05/0.2338, allocations: 8 kB / 0.9802 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001328/0.2339, allocations: 49.67 kB / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.234, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.234, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.234, allocations: 0 / 0.9802 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.677e-05/0.2341, allocations: 23.97 kB / 0.9802 GB, free: 26.35 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001617/0.2342, allocations: 173.5 kB / 0.9804 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00013/0.2344, allocations: 58.5 kB / 0.9804 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.75e-05/0.2345, allocations: 29.08 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008439/0.2353, allocations: 465.5 kB / 0.9809 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.613e-05/0.2353, allocations: 38.55 kB / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.693e-06/0.2354, allocations: 0 / 0.981 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001552/0.2369, allocations: 0.5876 MB / 0.9815 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.677e-05/0.237, allocations: 55.41 kB / 0.9816 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.7e-05/0.237, allocations: 93.86 kB / 0.9817 GB, free: 24.59 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.468e-05/0.2371, allocations: 33.64 kB / 0.9817 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.37e-05/0.2371, allocations: 84.12 kB / 0.9818 GB, free: 24.47 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.284e-05/0.2371, allocations: 39.45 kB / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.693e-06/0.2372, allocations: 0 / 0.9818 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.596e-05/0.2372, allocations: 330.8 kB / 0.9821 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.723e-05/0.2373, allocations: 16 kB / 0.9822 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.917e-05/0.2374, allocations: 25.11 kB / 0.9822 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.422e-05/0.2375, allocations: 24 kB / 0.9822 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.2375, allocations: 3.938 kB / 0.9822 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002123/0.2377, allocations: 91.09 kB / 0.9823 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.2377, allocations: 8 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.653e-06/0.2377, allocations: 3.984 kB / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.932e-05/0.2378, allocations: 0 / 0.9823 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001793/0.238, allocations: 27.94 kB / 0.9823 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.075e-06/0.238, allocations: 4 kB / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.597e-05/0.238, allocations: 0 / 0.9823 GB, free: 23.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.128e-05/0.2381, allocations: 0 / 0.9823 GB, free: 23.89 MB / 0.6198 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 (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.909e-05/0.2381, allocations: 121.8 kB / 0.9824 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.601e-05/0.2382, allocations: 7.906 kB / 0.9825 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002491/0.2385, allocations: 105.6 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.2385, allocations: 4.188 kB / 0.9826 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.2385, allocations: 4 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.2385, allocations: 7.969 kB / 0.9826 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004437/0.239, allocations: 342.7 kB / 0.9829 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.239, allocations: 3.984 kB / 0.9829 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001891/0.2392, allocations: 27.94 kB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.2392, allocations: 0 / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.2392, allocations: 0 / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.2392, allocations: 4 kB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.784e-06/0.2392, allocations: 0 / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003141/0.2396, allocations: 227.4 kB / 0.9831 GB, free: 22.97 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.919e-05/0.2396, allocations: 85.12 kB / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.2397, allocations: 4 kB / 0.9832 GB, free: 22.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.2398, allocations: 4 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.374e-05/0.2398, allocations: 7.984 kB / 0.9832 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.328e-05/0.2398, allocations: 4 kB / 0.9832 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.956e-05/0.2399, allocations: 79.28 kB / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2399, allocations: 0 / 0.9833 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003772/0.2403, allocations: 52.05 kB / 0.9834 GB, free: 22.72 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (y_comp,der_y_comp) * 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 (11): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006778/0.241, allocations: 0.7904 MB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001936/0.2412, allocations: 60.53 kB / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/0.2412, allocations: 0 / 0.9842 GB, free: 21.85 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 7.025e-05/0.2413, allocations: 35.98 kB / 0.9842 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000284/0.2416, allocations: 10.81 kB / 0.9842 GB, free: 21.8 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009839/0.2426, allocations: 0.5117 MB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.2427, allocations: 0.6888 MB / 0.9854 GB, free: 20.53 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 7.907e-05/0.2428, allocations: 15.94 kB / 0.9854 GB, free: 20.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.354e-05/0.2429, allocations: 20.42 kB / 0.9855 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.302e-06/0.2429, allocations: 0 / 0.9855 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02126/0.2642, allocations: 2.242 MB / 0.9876 GB, free: 18.44 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002646/0.2645, allocations: 216.4 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/2.824, allocations: 0.5625 kB / 0.9879 GB, free: 18.2 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)