Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.416/1.416, allocations: 252 MB / 267.3 MB, free: 10.84 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009208/0.0009207, allocations: 183.6 kB / 327 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.613/1.613, allocations: 205.4 MB / 0.578 GB, free: 20.13 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007341/0.0007342, allocations: 88.25 kB / 0.6826 GB, free: 12.75 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003628, allocations: 15.69 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.195, allocations: 106.3 MB / 0.9009 GB, free: 63.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.0006579/0.1957, allocations: 338 kB / 0.9012 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0006124/0.1964, allocations: 372.2 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.546e-05/0.1964, allocations: 4 kB / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.287e-05/0.1964, allocations: 0 / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 2.375e-05/0.1964, allocations: 0 / 0.9016 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004234/0.1969, allocations: 71.84 kB / 0.9017 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.124e-05/0.1969, allocations: 4 kB / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.61e-05/0.197, allocations: 0 / 0.9017 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.197, allocations: 15.98 kB / 0.9017 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.013e-05/0.1971, allocations: 7.922 kB / 0.9017 GB, free: 62.56 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.296e-05/0.1971, allocations: 4 kB / 0.9017 GB, free: 62.55 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003337/0.1974, allocations: 267.7 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.171e-05/0.1974, allocations: 7.875 kB / 0.902 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.586e-05/0.1975, allocations: 33.69 kB / 0.902 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001598/0.1976, allocations: 91.8 kB / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.1977, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1977, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.1977, allocations: 0 / 0.9021 GB, free: 62.16 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002703/0.1979, allocations: 342.2 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.441e-05/0.198, allocations: 12.03 kB / 0.9024 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/0.198, allocations: 30.75 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.377e-05/0.1981, allocations: 0.9375 kB / 0.9025 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.594e-05/0.1982, allocations: 172.4 kB / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1982, allocations: 384 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.1982, allocations: 384 / 0.9026 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.559e-05/0.1983, allocations: 34.27 kB / 0.9027 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1983, allocations: 7.938 kB / 0.9027 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.396e-06/0.1983, allocations: 4 kB / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1984, allocations: 0 / 0.9027 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.104e-05/0.1984, allocations: 11.92 kB / 0.9027 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001172/0.1985, allocations: 153.7 kB / 0.9028 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.328e-05/0.1986, allocations: 22.59 kB / 0.9028 GB, free: 61.22 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.1986, allocations: 8.922 kB / 0.9029 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005968/0.1992, allocations: 457.5 kB / 0.9033 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.627e-05/0.1992, allocations: 34.56 kB / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.823e-06/0.1992, allocations: 0 / 0.9033 GB, free: 60.63 MB / 0.6042 GB Notification: Performance of matching and sorting (n=3): time 0.0004904/0.1997, allocations: 262.2 kB / 0.9036 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/0.1997, allocations: 51.41 kB / 0.9036 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.587e-05/0.1998, allocations: 101.8 kB / 0.9037 GB, free: 60.15 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.1998, allocations: 29.7 kB / 0.9037 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.799e-05/0.1998, allocations: 80.14 kB / 0.9038 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.184e-05/0.1999, allocations: 8.125 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.1999, allocations: 4.344 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.192e-05/0.1999, allocations: 314.8 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.1999, allocations: 7.984 kB / 0.9041 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.139e-05/0.2, allocations: 21.72 kB / 0.9042 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.696e-05/0.2, allocations: 21.72 kB / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.01e-07/0.2, allocations: 0 / 0.9042 GB, free: 59.64 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.428e-05/0.2001, allocations: 61.53 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.2001, allocations: 7.938 kB / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.2001, allocations: 0 / 0.9043 GB, free: 59.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2002, allocations: 4 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.704e-05/0.2002, allocations: 4 kB / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.2002, allocations: 0 / 0.9043 GB, free: 59.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.847e-05/0.2003, allocations: 7.938 kB / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2003, allocations: 0 / 0.9043 GB, free: 59.55 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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 4.807e-05/0.2003, allocations: 121.8 kB / 0.9044 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.352e-05/0.2003, allocations: 8 kB / 0.9044 GB, free: 59.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001092/0.2005, allocations: 49.19 kB / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.2005, allocations: 0 / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2005, allocations: 0 / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.2005, allocations: 0 / 0.9044 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.558e-05/0.2006, allocations: 153.7 kB / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2006, allocations: 0 / 0.9046 GB, free: 59.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.088e-05/0.2006, allocations: 11.98 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/0.2006, allocations: 3.938 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.181e-06/0.2006, allocations: 4 kB / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.2006, allocations: 0 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2007, allocations: 0 / 0.9046 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.2008, allocations: 77.06 kB / 0.9047 GB, free: 59.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.606e-05/0.2008, allocations: 85.08 kB / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.2008, allocations: 0 / 0.9048 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.748e-05/0.2009, allocations: 7.922 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.591e-05/0.2009, allocations: 4.062 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.039e-06/0.2009, allocations: 4.234 kB / 0.9048 GB, free: 58.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.727e-05/0.2009, allocations: 79.28 kB / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2009, allocations: 0 / 0.9048 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002036/0.2011, allocations: 24 kB / 0.9049 GB, free: 58.82 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.000336/0.2015, allocations: 0.6515 MB / 0.9055 GB, free: 58.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 7.398e-05/0.2016, allocations: 16 kB / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2016, allocations: 0 / 0.9055 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.2016, allocations: 11.94 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001471/0.2017, allocations: 9.953 kB / 0.9055 GB, free: 58.11 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006852/0.2024, allocations: 1.127 MB / 0.9066 GB, free: 56.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001094/0.2026, allocations: 0.681 MB / 0.9073 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.2026, allocations: 7.938 kB / 0.9073 GB, free: 56.18 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.902e-05/0.2026, allocations: 7.438 kB / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/0.2026, allocations: 0 / 0.9073 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01031/0.2129, allocations: 1.539 MB / 0.9088 GB, free: 54.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001485/0.2131, allocations: 243.5 kB / 0.9091 GB, free: 54.58 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.532/1.745, allocations: 0 / 0.9091 GB, free: 54.58 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)