Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_8_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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009213/0.0009212, allocations: 91.44 kB / 15.06 MB, free: 1.078 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.00118/0.00118, allocations: 176.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205.4 MB / 222.1 MB, free: 5.641 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.879/1.879, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005269/0.0005269, allocations: 15.72 kB / 0.6738 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2722/0.2727, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0007524/0.2735, allocations: 355.5 kB / 0.7877 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005982/0.2741, allocations: 319.2 kB / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.167e-05/0.2742, allocations: 0 / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.035e-05/0.2742, allocations: 0 / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.975e-05/0.2742, allocations: 0 / 0.7881 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003308/0.2746, allocations: 91.16 kB / 0.7881 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.558e-05/0.2746, allocations: 19.97 kB / 0.7882 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.438e-05/0.2747, allocations: 4 kB / 0.7882 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.524e-05/0.2747, allocations: 11.92 kB / 0.7882 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.673e-05/0.2748, allocations: 8 kB / 0.7882 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.299e-05/0.2748, allocations: 3.938 kB / 0.7882 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003525/0.2752, allocations: 271.6 kB / 0.7884 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.479e-05/0.2752, allocations: 11.92 kB / 0.7885 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.618e-05/0.2752, allocations: 29.7 kB / 0.7885 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.2753, allocations: 59.89 kB / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.2754, allocations: 0 / 0.7885 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2754, allocations: 4 kB / 0.7885 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.2754, allocations: 0 / 0.7885 GB, free: 10.66 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000426/0.2758, allocations: 355.5 kB / 0.7889 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.384e-05/0.2759, allocations: 12.03 kB / 0.7889 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.662e-05/0.2759, allocations: 34.56 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.276, allocations: 4 kB / 0.7889 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001325/0.2761, allocations: 174.9 kB / 0.7891 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.216e-05/0.2761, allocations: 8 kB / 0.7891 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.087e-05/0.2762, allocations: 4 kB / 0.7891 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.2763, allocations: 45.69 kB / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2763, allocations: 0 / 0.7892 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.2763, allocations: 3.938 kB / 0.7892 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.083e-05/0.2763, allocations: 4 kB / 0.7892 GB, free: 9.93 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.22e-05/0.2764, allocations: 15.98 kB / 0.7892 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001867/0.2766, allocations: 177.5 kB / 0.7893 GB, free: 9.691 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.2767, allocations: 66.48 kB / 0.7894 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.511e-05/0.2768, allocations: 28.86 kB / 0.7894 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006602/0.2774, allocations: 461.5 kB / 0.7899 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.639e-05/0.2775, allocations: 38.56 kB / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.173e-06/0.2775, allocations: 0 / 0.7899 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001203/0.2787, allocations: 0.5845 MB / 0.7905 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/0.2787, allocations: 51.41 kB / 0.7905 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.977e-05/0.2788, allocations: 101.9 kB / 0.7906 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.718e-05/0.2788, allocations: 29.64 kB / 0.7907 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.533e-05/0.2789, allocations: 80.14 kB / 0.7907 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.951e-05/0.2789, allocations: 39.45 kB / 0.7908 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.432e-06/0.279, allocations: 4 kB / 0.7908 GB, free: 7.988 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001192/0.2791, allocations: 318.8 kB / 0.7911 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.846e-05/0.2791, allocations: 23.98 kB / 0.7911 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.85e-05/0.2792, allocations: 31.86 kB / 0.7911 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.509e-05/0.2792, allocations: 20 kB / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.21e-07/0.2792, allocations: 0 / 0.7912 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001572/0.2794, allocations: 101.6 kB / 0.7913 GB, free: 7.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.2794, allocations: 4 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.2794, allocations: 0.5469 kB / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.339e-05/0.2794, allocations: 0 / 0.7913 GB, free: 7.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.2795, allocations: 23.98 kB / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.2796, allocations: 0 / 0.7913 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.221e-05/0.2796, allocations: 4 kB / 0.7913 GB, free: 7.457 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.588e-06/0.2796, allocations: 4 kB / 0.7913 GB, free: 7.453 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 (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 8.762e-05/0.2797, allocations: 122.4 kB / 0.7914 GB, free: 7.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.633e-05/0.2797, allocations: 7.906 kB / 0.7914 GB, free: 7.316 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001903/0.2799, allocations: 105.8 kB / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.2799, allocations: 0 / 0.7915 GB, free: 7.203 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.2799, allocations: 3.984 kB / 0.7915 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.28, allocations: 0 / 0.7915 GB, free: 7.199 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004147/0.2804, allocations: 370.6 kB / 0.7919 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.2804, allocations: 0 / 0.7919 GB, free: 6.781 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001015/0.2805, allocations: 19.98 kB / 0.7919 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2805, allocations: 0 / 0.7919 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.049e-05/0.2805, allocations: 4 kB / 0.7919 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2805, allocations: 0 / 0.7919 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.2805, allocations: 4 kB / 0.7919 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002568/0.2808, allocations: 219.3 kB / 0.7921 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.161e-05/0.2809, allocations: 93.19 kB / 0.7922 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.688e-05/0.2809, allocations: 7.938 kB / 0.7922 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.566e-05/0.281, allocations: 3.984 kB / 0.7922 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.743e-05/0.281, allocations: 8 kB / 0.7922 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.305e-06/0.281, allocations: 4 kB / 0.7922 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.732e-05/0.2811, allocations: 79.27 kB / 0.7923 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2811, allocations: 0 / 0.7923 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002758/0.2813, allocations: 44 kB / 0.7923 GB, free: 6.27 MB / 0.6075 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.0006703/0.282, allocations: 0.7904 MB / 0.7931 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001447/0.2822, allocations: 59.92 kB / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.2822, allocations: 0 / 0.7932 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.982e-05/0.2822, allocations: 31.98 kB / 0.7932 GB, free: 5.363 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.2825, allocations: 8 kB / 0.7932 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008217/0.2833, allocations: 0.5296 MB / 0.7937 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.2836, allocations: 0.6848 MB / 0.7944 GB, free: 4.07 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 5.085e-05/0.2836, allocations: 12.05 kB / 0.7944 GB, free: 4.059 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.823e-05/0.2837, allocations: 19.44 kB / 0.7944 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of SimCode: time 6.91e-07/0.2837, allocations: 0 / 0.7944 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01385/0.2975, allocations: 2.236 MB / 0.7966 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/0.2978, allocations: 216.8 kB / 0.7968 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.81/2.107, allocations: 2.188 kB / 0.7968 GB, free: 1.742 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) Environment - environmentSimulation: