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.001473/0.001473, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001918/0.001918, allocations: 196.2 kB / 16.64 MB, free: 6.59 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.41/1.41, allocations: 205.1 MB / 222.5 MB, free: 4.52 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.698/1.698, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001493/0.001494, allocations: 66.33 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.206/0.2075, allocations: 114.6 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001702/0.2092, allocations: 0.6209 MB / 0.7843 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0006284/0.2099, allocations: 346.7 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.403e-05/0.2099, allocations: 0 / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.2099, allocations: 3.938 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.868e-05/0.21, allocations: 4 kB / 0.7846 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004397/0.2104, allocations: 123.6 kB / 0.7847 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.2105, allocations: 19.92 kB / 0.7847 GB, free: 12.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.2105, allocations: 4 kB / 0.7847 GB, free: 12.15 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.586e-05/0.2106, allocations: 7.984 kB / 0.7847 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.2106, allocations: 15.92 kB / 0.7848 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.2106, allocations: 0 / 0.7848 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003453/0.211, allocations: 275.6 kB / 0.785 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.413e-05/0.211, allocations: 15.94 kB / 0.785 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.446e-05/0.2111, allocations: 15.86 kB / 0.7851 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001699/0.2112, allocations: 107.8 kB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2112, allocations: 0 / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2112, allocations: 0 / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.2113, allocations: 0 / 0.7852 GB, free: 11.72 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.0004014/0.2117, allocations: 355.7 kB / 0.7855 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2117, allocations: 12.03 kB / 0.7855 GB, free: 11.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.745e-05/0.2117, allocations: 34.75 kB / 0.7855 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.2118, allocations: 8.938 kB / 0.7855 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.2119, allocations: 164.3 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.2119, allocations: 4.375 kB / 0.7857 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.521e-05/0.212, allocations: 8.281 kB / 0.7857 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.2121, allocations: 54.22 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.124e-05/0.2121, allocations: 3.938 kB / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.878e-06/0.2121, allocations: 0 / 0.7858 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.549e-06/0.2121, allocations: 4 kB / 0.7858 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.975e-05/0.2122, allocations: 15.98 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.2124, allocations: 169.7 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001031/0.2125, allocations: 62.48 kB / 0.786 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.193e-05/0.2125, allocations: 32.84 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000649/0.2132, allocations: 461.5 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.2132, allocations: 34.56 kB / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 1.242e-06/0.2132, allocations: 0 / 0.7865 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.001229/0.2145, allocations: 0.5917 MB / 0.7871 GB, free: 9.379 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/0.2145, allocations: 51.41 kB / 0.7871 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.155e-05/0.2146, allocations: 97.86 kB / 0.7872 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.618e-05/0.2146, allocations: 29.7 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.356e-05/0.2146, allocations: 84.12 kB / 0.7873 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.767e-05/0.2147, allocations: 39.38 kB / 0.7874 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.249e-05/0.2147, allocations: 25.7 kB / 0.7874 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.2148, allocations: 318.8 kB / 0.7877 GB, free: 8.699 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.908e-05/0.2149, allocations: 19.98 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.987e-05/0.2149, allocations: 35.92 kB / 0.7878 GB, free: 8.645 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.932e-05/0.215, allocations: 59.92 kB / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.71e-07/0.215, allocations: 0 / 0.7878 GB, free: 8.586 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001545/0.2152, allocations: 93.61 kB / 0.7879 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.2152, allocations: 8 kB / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2152, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.442e-05/0.2153, allocations: 0 / 0.7879 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001029/0.2154, allocations: 19.94 kB / 0.7879 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.2154, allocations: 8 kB / 0.7879 GB, free: 8.453 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.2154, allocations: 7.984 kB / 0.788 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.857e-06/0.2154, allocations: 4 kB / 0.788 GB, free: 8.441 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.2155, allocations: 110.5 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.987e-05/0.2155, allocations: 11.84 kB / 0.7881 GB, free: 8.312 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001888/0.2157, allocations: 105.6 kB / 0.7882 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.023e-06/0.2158, allocations: 4 kB / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.528e-06/0.2158, allocations: 0 / 0.7882 GB, free: 8.195 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2158, allocations: 7.984 kB / 0.7882 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003999/0.2162, allocations: 354.7 kB / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.2162, allocations: 0 / 0.7885 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001014/0.2163, allocations: 19.94 kB / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.2163, allocations: 0 / 0.7885 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.467e-05/0.2163, allocations: 11.98 kB / 0.7886 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.2163, allocations: 4 kB / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2164, allocations: 0 / 0.7886 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00024/0.2166, allocations: 227.4 kB / 0.7888 GB, free: 7.512 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.2167, allocations: 81.09 kB / 0.7889 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.2167, allocations: 8 kB / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.404e-05/0.2168, allocations: 0 / 0.7889 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.708e-05/0.2168, allocations: 8.172 kB / 0.7889 GB, free: 7.398 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.005e-06/0.2168, allocations: 4 kB / 0.7889 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.09e-05/0.2168, allocations: 83.27 kB / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2168, allocations: 0 / 0.7889 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002627/0.2171, allocations: 51.98 kB / 0.789 GB, free: 7.262 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 (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.0005643/0.2177, allocations: 0.8011 MB / 0.7898 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2178, allocations: 59.92 kB / 0.7898 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2178, allocations: 0 / 0.7898 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.496e-05/0.2179, allocations: 35.92 kB / 0.7899 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.2181, allocations: 6.438 kB / 0.7899 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001206/0.2193, allocations: 1.402 MB / 0.7912 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002046/0.2195, allocations: 0.6923 MB / 0.7919 GB, free: 4.141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.645e-05/0.2196, allocations: 7.938 kB / 0.7919 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.976e-05/0.2196, allocations: 19.42 kB / 0.7919 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of SimCode: time 2.2e-07/0.2196, allocations: 0 / 0.7919 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01758/0.2372, allocations: 2.467 MB / 0.7944 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.27/7.507, allocations: 10.48 kB / 0.7944 GB, free: 1.789 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/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)