Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_maint_8_0_x_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_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.578/1.578, allocations: 288.4 MB / 303.6 MB, free: 8.152 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.001155/0.001155, allocations: 171.1 kB / 372.2 MB, free: 10.11 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.552/1.552, allocations: 205.4 MB / 0.631 GB, free: 9.777 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.0009619/0.0009618, allocations: 94.28 kB / 0.7444 GB, free: 5.691 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004127/0.0004128, allocations: 13.41 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2426, allocations: 115.3 MB / 0.9802 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.000797/0.2434, allocations: 343.8 kB / 0.9805 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0006031/0.2441, allocations: 327.2 kB / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.51e-05/0.2441, allocations: 0 / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.198e-05/0.2441, allocations: 0 / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.879e-05/0.2442, allocations: 0 / 0.9808 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.2447, allocations: 87.78 kB / 0.9809 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.266e-05/0.2448, allocations: 19.92 kB / 0.9809 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 5.367e-05/0.2448, allocations: 4 kB / 0.981 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.2449, allocations: 11.92 kB / 0.981 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.042e-05/0.2449, allocations: 15.97 kB / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.245, allocations: 0 / 0.981 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003459/0.2453, allocations: 267.7 kB / 0.9812 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.501e-05/0.2453, allocations: 7.938 kB / 0.9812 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.687e-05/0.2454, allocations: 41.62 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.2455, allocations: 63.88 kB / 0.9813 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.532e-06/0.2456, allocations: 4 kB / 0.9813 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.2456, allocations: 0 / 0.9813 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2456, allocations: 0 / 0.9813 GB, free: 26.02 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.0003975/0.246, allocations: 351.7 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.945e-05/0.246, allocations: 12.03 kB / 0.9817 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.356e-05/0.2461, allocations: 34.73 kB / 0.9817 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.207e-05/0.2461, allocations: 4.938 kB / 0.9817 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.745e-05/0.2462, allocations: 164.4 kB / 0.9819 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.007e-05/0.2463, allocations: 8.375 kB / 0.9819 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.329e-05/0.2463, allocations: 4.281 kB / 0.9819 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.2465, allocations: 58.12 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.667e-05/0.2465, allocations: 3.938 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2465, allocations: 0 / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/0.2465, allocations: 7.984 kB / 0.982 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.217e-05/0.2466, allocations: 12 kB / 0.982 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.2468, allocations: 165.7 kB / 0.9821 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.471e-05/0.2469, allocations: 58.56 kB / 0.9822 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.771e-05/0.2469, allocations: 32.84 kB / 0.9822 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006116/0.2475, allocations: 457.5 kB / 0.9827 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.2476, allocations: 38.44 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.754e-06/0.2476, allocations: 4 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11): time 0.001207/0.2488, allocations: 0.5994 MB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.283e-05/0.2488, allocations: 55.41 kB / 0.9833 GB, free: 23.61 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.597e-05/0.2489, allocations: 97.84 kB / 0.9834 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.247e-05/0.2489, allocations: 29.7 kB / 0.9835 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.264e-05/0.2489, allocations: 80.14 kB / 0.9835 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.636e-05/0.249, allocations: 44.25 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.17e-06/0.249, allocations: 4 kB / 0.9836 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.376e-05/0.2491, allocations: 314.8 kB / 0.9839 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.039e-05/0.2491, allocations: 27.98 kB / 0.9839 GB, free: 23 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.095e-05/0.2491, allocations: 19.98 kB / 0.9839 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.302e-05/0.2492, allocations: 54.73 kB / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2492, allocations: 0 / 0.984 GB, free: 22.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001378/0.2494, allocations: 105.5 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.2494, allocations: 5.719 kB / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2494, allocations: 0 / 0.9841 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.2494, allocations: 4 kB / 0.9841 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.2495, allocations: 16 kB / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.2496, allocations: 0 / 0.9841 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.473e-05/0.2496, allocations: 8 kB / 0.9841 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.2496, allocations: 3.984 kB / 0.9841 GB, free: 22.78 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 6.169e-05/0.2497, allocations: 117.8 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.061e-05/0.2497, allocations: 11.84 kB / 0.9842 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001797/0.2499, allocations: 105.6 kB / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.2499, allocations: 0 / 0.9843 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.2499, allocations: 4 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.841e-06/0.2499, allocations: 3.984 kB / 0.9843 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003239/0.2503, allocations: 354.5 kB / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.2503, allocations: 0 / 0.9847 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/0.2504, allocations: 20 kB / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.946e-06/0.2504, allocations: 0 / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.535e-05/0.2504, allocations: 0 / 0.9847 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.2505, allocations: 3.984 kB / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2505, allocations: 96 / 0.9847 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002307/0.2507, allocations: 233.3 kB / 0.9849 GB, free: 21.86 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.864e-05/0.2508, allocations: 89.12 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/0.2508, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.819e-05/0.2509, allocations: 0 / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.545e-05/0.2509, allocations: 7.984 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.498e-06/0.2509, allocations: 8 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.313e-05/0.2509, allocations: 79.28 kB / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2e-07/0.2509, allocations: 0 / 0.9851 GB, free: 21.66 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002625/0.2512, allocations: 43.98 kB / 0.9852 GB, free: 21.62 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.000518/0.2517, allocations: 0.7943 MB / 0.9859 GB, free: 20.8 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.2519, allocations: 55.97 kB / 0.986 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.2519, allocations: 0 / 0.986 GB, free: 20.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.374e-05/0.252, allocations: 39.86 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002148/0.2522, allocations: 7.812 kB / 0.986 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008291/0.253, allocations: 0.5238 MB / 0.9865 GB, free: 20.13 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001675/0.2532, allocations: 0.6848 MB / 0.9872 GB, free: 19.42 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.516e-05/0.2533, allocations: 12.06 kB / 0.9872 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.2533, allocations: 19.42 kB / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of SimCode: time 4.31e-07/0.2533, allocations: 0 / 0.9872 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01625/0.2696, allocations: 2.243 MB / 0.9894 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001492/0.2698, allocations: 229.7 kB / 0.9896 GB, free: 17.11 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.033, allocations: 0 / 0.9896 GB, free: 17.11 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)