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.002082/0.002082, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.002649/0.002649, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.421/3.421, allocations: 205.4 MB / 222.1 MB, free: 5.863 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 3.127/3.127, allocations: 292.6 MB / 0.5497 GB, free: 14.62 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.001118/0.001119, allocations: 16.03 kB / 0.6737 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5599/0.5611, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001452/0.5627, allocations: 349.8 kB / 0.7876 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001037/0.5637, allocations: 336.9 kB / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.596e-05/0.5638, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.5638, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.906e-05/0.5639, allocations: 0 / 0.7879 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006034/0.5645, allocations: 67.78 kB / 0.788 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.234e-05/0.5646, allocations: 23.97 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.878e-05/0.5647, allocations: 3.938 kB / 0.788 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.177e-05/0.5648, allocations: 11.98 kB / 0.788 GB, free: 11.1 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 9.791e-05/0.5649, allocations: 11.92 kB / 0.788 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.317e-05/0.5649, allocations: 4 kB / 0.788 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005649/0.5655, allocations: 255.7 kB / 0.7883 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.585e-05/0.5655, allocations: 11.98 kB / 0.7883 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.678e-05/0.5656, allocations: 29.64 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.5658, allocations: 59.89 kB / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.5658, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.605e-06/0.5658, allocations: 0 / 0.7884 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.5658, allocations: 4 kB / 0.7884 GB, free: 10.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.0007239/0.5665, allocations: 363.4 kB / 0.7887 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 7.858e-05/0.5666, allocations: 8.031 kB / 0.7887 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.281e-05/0.5667, allocations: 34.56 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.5668, allocations: 4 kB / 0.7887 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.5671, allocations: 171 kB / 0.7889 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.295e-05/0.5671, allocations: 4 kB / 0.7889 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.34e-05/0.5672, allocations: 11.91 kB / 0.7889 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002508/0.5675, allocations: 49.67 kB / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.775e-05/0.5675, allocations: 0 / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.713e-05/0.5675, allocations: 0 / 0.789 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.451e-05/0.5675, allocations: 4 kB / 0.789 GB, free: 9.984 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.576e-05/0.5676, allocations: 19.92 kB / 0.789 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.568, allocations: 169.6 kB / 0.7892 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001991/0.5682, allocations: 62.55 kB / 0.7892 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001156/0.5694, allocations: 457.5 kB / 0.7897 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.38e-05/0.5695, allocations: 38.56 kB / 0.7897 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=7): time 4.057e-06/0.5695, allocations: 4 kB / 0.7897 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11): time 0.002293/0.5718, allocations: 0.589 MB / 0.7903 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001112/0.5719, allocations: 55.34 kB / 0.7903 GB, free: 8.344 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001981/0.5721, allocations: 101.8 kB / 0.7904 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.474e-05/0.5722, allocations: 29.7 kB / 0.7904 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001006/0.5723, allocations: 80.14 kB / 0.7905 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 9.817e-05/0.5724, allocations: 39.45 kB / 0.7906 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.129e-05/0.5724, allocations: 4 kB / 0.7906 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0004058/0.5728, allocations: 318.8 kB / 0.7909 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.888e-05/0.5729, allocations: 23.98 kB / 0.7909 GB, free: 7.73 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-05/0.573, allocations: 23.98 kB / 0.7909 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.579e-05/0.5731, allocations: 23.75 kB / 0.7909 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5731, allocations: 0 / 0.7909 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002844/0.5734, allocations: 101.6 kB / 0.791 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.205e-05/0.5734, allocations: 4 kB / 0.791 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.176e-05/0.5734, allocations: 0 / 0.791 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.315e-05/0.5735, allocations: 0 / 0.791 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001827/0.5737, allocations: 27.92 kB / 0.7911 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.5737, allocations: 0 / 0.7911 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.719e-05/0.5737, allocations: 0 / 0.7911 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.066e-05/0.5738, allocations: 8 kB / 0.7911 GB, free: 7.543 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 0.0001613/0.5739, allocations: 113.8 kB / 0.7912 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/0.574, allocations: 15.89 kB / 0.7912 GB, free: 7.406 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003229/0.5743, allocations: 109.5 kB / 0.7913 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5744, allocations: 192 / 0.7913 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/0.5744, allocations: 0 / 0.7913 GB, free: 7.289 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/0.5744, allocations: 3.984 kB / 0.7913 GB, free: 7.285 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007905/0.5752, allocations: 358.5 kB / 0.7916 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.474e-06/0.5752, allocations: 0 / 0.7916 GB, free: 6.879 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001711/0.5754, allocations: 23.92 kB / 0.7917 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.9e-06/0.5754, allocations: 0 / 0.7917 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.5755, allocations: 8 kB / 0.7917 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.5755, allocations: 0 / 0.7917 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5755, allocations: 0 / 0.7917 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.576, allocations: 219.6 kB / 0.7919 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001093/0.5761, allocations: 89.12 kB / 0.792 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.592e-05/0.5761, allocations: 0 / 0.792 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001204/0.5763, allocations: 4 kB / 0.792 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.414e-05/0.5763, allocations: 11.98 kB / 0.792 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.417e-05/0.5764, allocations: 8.062 kB / 0.792 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.965e-05/0.5765, allocations: 75.28 kB / 0.7921 GB, free: 6.414 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.9e-07/0.5765, allocations: 3.938 kB / 0.7921 GB, free: 6.41 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0005316/0.577, allocations: 44 kB / 0.7921 GB, free: 6.367 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.00152/0.5785, allocations: 0.7905 MB / 0.7929 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000302/0.5789, allocations: 67.97 kB / 0.7929 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.5789, allocations: 0 / 0.7929 GB, free: 5.484 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.508e-05/0.579, allocations: 31.94 kB / 0.793 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.5793, allocations: 3.984 kB / 0.793 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001417/0.5807, allocations: 0.5154 MB / 0.7935 GB, free: 4.883 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005664/0.5813, allocations: 0.6887 MB / 0.7942 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.32e-05/0.5814, allocations: 11.92 kB / 0.7942 GB, free: 4.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.65e-05/0.5815, allocations: 19.44 kB / 0.7942 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of SimCode: time 5.61e-07/0.5815, allocations: 0 / 0.7942 GB, free: 4.137 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02795/0.6094, allocations: 2.22 MB / 0.7964 GB, free: 2.098 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.6099, allocations: 210.9 kB / 0.7966 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.232/3.842, allocations: 3.938 kB / 0.7966 GB, free: 1.852 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: