Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_10_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",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.00109/0.00109, allocations: 108 kB / 15.61 MB, free: 152 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.001116/0.001116, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.375 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.47/2.47, allocations: 437 MB / 0.7104 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 67.89 kB / 0.8693 GB, free: 4.566 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.588/0.5893, allocations: 151.6 MB / 1.017 GB, free: 2.492 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001757/0.5911, allocations: 0.5959 MB / 1.018 GB, free: 1.891 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005932/0.5917, allocations: 350.6 kB / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.874e-05/0.5918, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.114e-05/0.5918, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 2.065e-05/0.5918, allocations: 0 / 1.018 GB, free: 1.547 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004212/0.5923, allocations: 119.2 kB / 1.018 GB, free: 1.434 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.917e-05/0.5923, allocations: 12 kB / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.21e-05/0.5923, allocations: 0 / 1.018 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.758e-05/0.5924, allocations: 7.984 kB / 1.018 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.18e-05/0.5924, allocations: 7.922 kB / 1.018 GB, free: 1.406 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.23e-05/0.5924, allocations: 4 kB / 1.018 GB, free: 1.402 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003355/0.5928, allocations: 271.7 kB / 1.019 GB, free: 1.137 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 1.163e-05/0.5928, allocations: 4 kB / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.915e-05/0.5928, allocations: 0 / 1.019 GB, free: 1.133 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.593, allocations: 95.77 kB / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.593, allocations: 0 / 1.019 GB, free: 1.039 MB / 0.7637 GB Notification: Performance of FrontEnd: time 2.535e-06/0.593, allocations: 8 kB / 1.019 GB, free: 1.031 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 7.655e-06/0.593, allocations: 0 / 1.019 GB, free: 1.031 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0002959/0.5933, allocations: 341.2 kB / 1.019 GB, free: 0.6484 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.5933, allocations: 12.03 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.68e-05/0.5934, allocations: 30.75 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.413e-05/0.5934, allocations: 4.938 kB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.066e-05/0.5935, allocations: 170.6 kB / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.5935, allocations: 384 / 1.019 GB, free: 400 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.969e-05/0.5936, allocations: 4.312 kB / 1.019 GB, free: 396 kB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.828e-05/0.5936, allocations: 34.27 kB / 1.019 GB, free: 356 kB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.5937, allocations: 3.938 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.374e-06/0.5937, allocations: 0 / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.5937, allocations: 7.984 kB / 1.019 GB, free: 344 kB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.987e-05/0.5937, allocations: 3.984 kB / 1.019 GB, free: 340 kB / 0.7637 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001274/0.5938, allocations: 149.7 kB / 1.02 GB, free: 140 kB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 4.274e-05/0.5939, allocations: 26.59 kB / 1.02 GB, free: 104 kB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.07e-05/0.5939, allocations: 16.86 kB / 1.02 GB, free: 84 kB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006653/0.5946, allocations: 449.5 kB / 1.02 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.5946, allocations: 42.55 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=2): time 2.454e-06/0.5946, allocations: 0 / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0004403/0.5951, allocations: 258.2 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.718e-05/0.5951, allocations: 51.41 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.912e-05/0.5952, allocations: 93.86 kB / 1.02 GB, free: 15.03 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.5952, allocations: 29.7 kB / 1.02 GB, free: 15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.491e-05/0.5952, allocations: 84.48 kB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.128e-05/0.5952, allocations: 11.84 kB / 1.021 GB, free: 14.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.936e-05/0.5953, allocations: 21.64 kB / 1.021 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 7.869e-05/0.5954, allocations: 314.8 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.749e-05/0.5954, allocations: 4 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.5954, allocations: 21.7 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.259e-05/0.5955, allocations: 29.66 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.5955, allocations: 0 / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.021e-05/0.5956, allocations: 53.59 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.5956, allocations: 11.94 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.5956, allocations: 3.938 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.5956, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.148e-05/0.5957, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.5957, allocations: 4 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.5957, allocations: 4 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.5957, allocations: 8.062 kB / 1.021 GB, free: 14.39 MB / 0.7794 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 6.26e-05/0.5958, allocations: 109.8 kB / 1.021 GB, free: 14.28 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.388e-05/0.5958, allocations: 3.938 kB / 1.021 GB, free: 14.27 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001138/0.5959, allocations: 53.17 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.5959, allocations: 3.938 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.596, allocations: 4 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.596, allocations: 0 / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.283e-05/0.596, allocations: 157.7 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.5961, allocations: 0 / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.779e-05/0.5961, allocations: 4 kB / 1.021 GB, free: 14 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/0.5961, allocations: 3.938 kB / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.149e-06/0.5961, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.5961, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.5961, allocations: 0 / 1.021 GB, free: 13.99 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.5963, allocations: 81.11 kB / 1.021 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.663e-05/0.5963, allocations: 81.05 kB / 1.022 GB, free: 13.8 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.182e-05/0.5963, allocations: 4.062 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.846e-05/0.5964, allocations: 8.172 kB / 1.022 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.528e-05/0.5964, allocations: 4.031 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.5964, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.071e-05/0.5964, allocations: 87.2 kB / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.01e-07/0.5964, allocations: 0 / 1.022 GB, free: 13.7 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002045/0.5966, allocations: 20 kB / 1.022 GB, free: 13.68 MB / 0.7794 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.0004109/0.5971, allocations: 0.6553 MB / 1.022 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.987e-05/0.5972, allocations: 23.92 kB / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.5972, allocations: 0 / 1.022 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.427e-05/0.5972, allocations: 4 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001336/0.5973, allocations: 8.562 kB / 1.022 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008033/0.5981, allocations: 1.124 MB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001844/0.5983, allocations: 0.6768 MB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.901e-05/0.5984, allocations: 7.984 kB / 1.024 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.722e-05/0.5984, allocations: 11.44 kB / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.5984, allocations: 0 / 1.024 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01657/0.615, allocations: 1.715 MB / 1.026 GB, free: 9.43 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.974/7.589, allocations: 10.66 kB / 1.026 GB, free: 9.422 MB / 0.7794 GB (rm -f Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_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_RegNonZeroPowerDerivativeCheck.fmu > Buildings_10_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)