Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_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_10_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.001458/0.001458, allocations: 108 kB / 15.6 MB, free: 132 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.001692/0.001692, allocations: 198.8 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.326/1.326, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.505/2.505, allocations: 437 MB / 0.7104 GB, free: 5.047 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001532/0.001532, allocations: 63.89 kB / 0.8694 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5638/0.5654, allocations: 151.6 MB / 1.017 GB, free: 2.469 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001902/0.5673, allocations: 0.6153 MB / 1.018 GB, free: 1.848 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0006259/0.568, allocations: 346.7 kB / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.143e-05/0.568, allocations: 0 / 1.018 GB, free: 1.508 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.37e-05/0.568, allocations: 3.938 kB / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.062e-05/0.5681, allocations: 0 / 1.018 GB, free: 1.504 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000453/0.5686, allocations: 131.5 kB / 1.018 GB, free: 1.375 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.5686, allocations: 23.97 kB / 1.019 GB, free: 1.352 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.989e-05/0.5687, allocations: 3.984 kB / 1.019 GB, free: 1.348 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 3.877e-05/0.5687, allocations: 15.94 kB / 1.019 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.538e-05/0.5688, allocations: 7.922 kB / 1.019 GB, free: 1.324 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.5688, allocations: 4 kB / 1.019 GB, free: 1.32 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.5691, allocations: 275.7 kB / 1.019 GB, free: 1.051 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.719e-05/0.5692, allocations: 11.97 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.5692, allocations: 7.938 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001775/0.5694, allocations: 103.8 kB / 1.019 GB, free: 0.9297 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.918e-06/0.5694, allocations: 4 kB / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.142e-06/0.5694, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.599e-06/0.5694, allocations: 0 / 1.019 GB, free: 0.9258 MB / 0.7637 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.0003752/0.5698, allocations: 361.7 kB / 1.019 GB, free: 0.5234 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5698, allocations: 8.031 kB / 1.019 GB, free: 0.5156 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.224e-05/0.5699, allocations: 42.69 kB / 1.019 GB, free: 476 kB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.005e-05/0.5699, allocations: 4.844 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001036/0.57, allocations: 176.2 kB / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.063e-05/0.57, allocations: 384 / 1.019 GB, free: 256 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.5701, allocations: 12.38 kB / 1.019 GB, free: 244 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001121/0.5702, allocations: 50.23 kB / 1.02 GB, free: 188 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.108e-05/0.5702, allocations: 3.938 kB / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.606e-06/0.5702, allocations: 0 / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.5702, allocations: 0 / 1.02 GB, free: 184 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.164e-05/0.5703, allocations: 19.98 kB / 1.02 GB, free: 164 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001652/0.5704, allocations: 165.7 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.5706, allocations: 58.5 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.295e-05/0.5706, allocations: 36.84 kB / 1.02 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006602/0.5713, allocations: 449.5 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.797e-05/0.5713, allocations: 42.56 kB / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=7): time 1.322e-06/0.5713, allocations: 0 / 1.02 GB, free: 15.26 MB / 0.7794 GB Notification: Performance of matching and sorting (n=11): time 0.001243/0.5726, allocations: 0.5916 MB / 1.021 GB, free: 14.58 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3e-05/0.5726, allocations: 51.41 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.884e-05/0.5727, allocations: 105.8 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.569e-05/0.5727, allocations: 25.7 kB / 1.021 GB, free: 14.37 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.817e-05/0.5727, allocations: 84.08 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.5728, allocations: 43.44 kB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.5728, allocations: 29.72 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.348e-05/0.5729, allocations: 314.8 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.341e-05/0.573, allocations: 27.92 kB / 1.022 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.534e-05/0.573, allocations: 16 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.95e-05/0.5731, allocations: 64.59 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/0.5731, allocations: 4 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001538/0.5733, allocations: 101.5 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/0.5733, allocations: 4 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.067e-06/0.5733, allocations: 192 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.5733, allocations: 0 / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.5734, allocations: 31.92 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.5734, allocations: 0 / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.532e-05/0.5735, allocations: 3.984 kB / 1.022 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.5735, allocations: 4 kB / 1.022 GB, free: 13.63 MB / 0.7794 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.708e-05/0.5736, allocations: 117.8 kB / 1.022 GB, free: 13.51 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.072e-05/0.5736, allocations: 11.88 kB / 1.022 GB, free: 13.5 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001821/0.5738, allocations: 109.6 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.754e-06/0.5738, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.5738, allocations: 0 / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.5738, allocations: 4 kB / 1.022 GB, free: 13.38 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003755/0.5742, allocations: 346.5 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.5742, allocations: 4 kB / 1.022 GB, free: 12.98 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001123/0.5743, allocations: 31.92 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.5743, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.286e-06/0.5744, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.5744, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.5744, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002396/0.5746, allocations: 223.3 kB / 1.023 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.074e-05/0.5747, allocations: 85.05 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.9e-05/0.5747, allocations: 8.047 kB / 1.023 GB, free: 12.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.389e-05/0.5748, allocations: 8 kB / 1.023 GB, free: 12.6 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.194e-05/0.5748, allocations: 4 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.011e-05/0.5748, allocations: 7.984 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.5749, allocations: 79.28 kB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5749, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002769/0.5752, allocations: 40 kB / 1.023 GB, free: 12.47 MB / 0.7794 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.0005944/0.5758, allocations: 0.7986 MB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001459/0.5759, allocations: 67.91 kB / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.5759, allocations: 0 / 1.024 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 4.967e-05/0.576, allocations: 35.94 kB / 1.024 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002141/0.5762, allocations: 7.984 kB / 1.024 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001151/0.5774, allocations: 1.38 MB / 1.025 GB, free: 10.07 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001969/0.5776, allocations: 0.6974 MB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.769e-05/0.5776, allocations: 7.938 kB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.974e-05/0.5777, allocations: 26.92 kB / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of SimCode: time 2.5e-07/0.5777, allocations: 0 / 1.026 GB, free: 9.32 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0196/0.5973, allocations: 2.452 MB / 1.028 GB, free: 6.996 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.944/7.541, allocations: 6.266 kB / 1.028 GB, free: 6.992 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)