Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_latest_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.001124/0.001124, 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.001238/0.001238, allocations: 196.6 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.293/1.293, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.733/2.733, allocations: 469.4 MB / 0.742 GB, free: 7.703 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 70.09 kB / 0.9083 GB, free: 34.58 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2747/0.276, allocations: 159.1 MB / 1.064 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001779/0.2778, allocations: 0.5985 MB / 1.064 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0006524/0.2785, allocations: 342.8 kB / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.922e-05/0.2785, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.031e-05/0.2785, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 1.831e-05/0.2786, allocations: 0 / 1.065 GB, free: 13.56 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004563/0.279, allocations: 117.8 kB / 1.065 GB, free: 13.45 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.244e-05/0.2791, allocations: 11.98 kB / 1.065 GB, free: 13.44 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.932e-05/0.2791, allocations: 7.984 kB / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.466e-05/0.2791, allocations: 0 / 1.065 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.315e-05/0.2792, allocations: 7.938 kB / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.2792, allocations: 0 / 1.065 GB, free: 13.42 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003584/0.2796, allocations: 275.6 kB / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.026e-05/0.2796, allocations: 0 / 1.065 GB, free: 13.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.911e-05/0.2796, allocations: 7.984 kB / 1.065 GB, free: 13.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001674/0.2798, allocations: 95.8 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2798, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2798, allocations: 4 kB / 1.065 GB, free: 13.05 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2798, allocations: 0 / 1.065 GB, free: 13.05 MB / 0.8262 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.0003173/0.2801, allocations: 339.6 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.2802, allocations: 8.031 kB / 1.065 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.06e-05/0.2802, allocations: 34.69 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.2803, allocations: 4.938 kB / 1.065 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.82e-05/0.2804, allocations: 164.6 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.794e-06/0.2804, allocations: 384 / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.091e-05/0.2804, allocations: 8.281 kB / 1.066 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.321e-05/0.2805, allocations: 42.25 kB / 1.066 GB, free: 12.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.713e-06/0.2805, allocations: 3.938 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.216e-06/0.2805, allocations: 3.938 kB / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.2805, allocations: 0 / 1.066 GB, free: 12.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.329e-05/0.2806, allocations: 7.984 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001343/0.2807, allocations: 149.7 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.152e-05/0.2807, allocations: 26.55 kB / 1.066 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.727e-05/0.2808, allocations: 8.859 kB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006705/0.2814, allocations: 461.5 kB / 1.066 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.418e-05/0.2815, allocations: 38.56 kB / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.2815, allocations: 0 / 1.066 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0004779/0.282, allocations: 246.3 kB / 1.067 GB, free: 11.21 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.671e-05/0.282, allocations: 55.41 kB / 1.067 GB, free: 11.15 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.462e-05/0.2821, allocations: 97.84 kB / 1.067 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.184e-05/0.2821, allocations: 25.7 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.452e-05/0.2821, allocations: 88.48 kB / 1.067 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.063e-05/0.2821, allocations: 7.812 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.2822, allocations: 17.72 kB / 1.067 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.607e-05/0.2823, allocations: 310.8 kB / 1.067 GB, free: 10.58 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.185e-05/0.2823, allocations: 11.98 kB / 1.067 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.524e-05/0.2823, allocations: 17.66 kB / 1.067 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.488e-05/0.2824, allocations: 29.72 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.2824, allocations: 4 kB / 1.067 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.84e-05/0.2825, allocations: 57.62 kB / 1.067 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.2825, allocations: 7.938 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.2825, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.2825, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.579e-05/0.2826, allocations: 8 kB / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2826, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.842e-05/0.2826, allocations: 0 / 1.067 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.2826, allocations: 12.05 kB / 1.067 GB, free: 10.41 MB / 0.8262 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 5.826e-05/0.2827, allocations: 106.4 kB / 1.067 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.767e-05/0.2827, allocations: 7.938 kB / 1.067 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001199/0.2829, allocations: 57.12 kB / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.2829, allocations: 0 / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.2829, allocations: 0 / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.2829, allocations: 0 / 1.067 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.209e-05/0.283, allocations: 161.7 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.283, allocations: 0 / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.084e-05/0.2831, allocations: 11.92 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.2831, allocations: 3.938 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.687e-06/0.2831, allocations: 4 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2831, allocations: 3.938 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2831, allocations: 0 / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001305/0.2832, allocations: 80.97 kB / 1.068 GB, free: 9.902 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.999e-05/0.2833, allocations: 81.11 kB / 1.068 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.31e-05/0.2833, allocations: 8.031 kB / 1.068 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.042e-05/0.2833, allocations: 3.984 kB / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.385e-05/0.2834, allocations: 240 / 1.068 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-06/0.2834, allocations: 4 kB / 1.068 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.634e-05/0.2834, allocations: 75.28 kB / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2834, allocations: 0 / 1.068 GB, free: 9.715 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002137/0.2836, allocations: 24 kB / 1.068 GB, free: 9.691 MB / 0.8262 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.0004154/0.284, allocations: 0.6477 MB / 1.069 GB, free: 9.012 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.174e-05/0.2841, allocations: 15.94 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.2841, allocations: 4 kB / 1.069 GB, free: 8.992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.773e-05/0.2842, allocations: 11.98 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001337/0.2843, allocations: 0 / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008335/0.2851, allocations: 1.149 MB / 1.07 GB, free: 7.746 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001801/0.2853, allocations: 0.6729 MB / 1.07 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.194e-05/0.2854, allocations: 11.97 kB / 1.07 GB, free: 7.035 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.2854, allocations: 7.438 kB / 1.07 GB, free: 7.027 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2854, allocations: 7.938 kB / 1.07 GB, free: 7.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01843/0.3039, allocations: 1.716 MB / 1.072 GB, free: 5.43 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.156/7.46, allocations: 14.75 kB / 1.072 GB, free: 5.418 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1)