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.004654/0.004654, allocations: 99.02 kB / 15.73 MB, free: 6.047 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.001274/0.001274, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.328 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.733/2.733, allocations: 437 MB / 0.7105 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001896/0.001896, allocations: 67.89 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3097/0.3116, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001968/0.3136, allocations: 0.6172 MB / 1.167 GB, free: 6.648 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0008357/0.3145, allocations: 355 kB / 1.167 GB, free: 6.301 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.3145, allocations: 3.938 kB / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.406e-05/0.3145, allocations: 0 / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 3.078e-05/0.3146, allocations: 0 / 1.167 GB, free: 6.297 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004975/0.3151, allocations: 119.6 kB / 1.167 GB, free: 6.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 6.734e-05/0.3152, allocations: 23.98 kB / 1.167 GB, free: 6.156 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.951e-05/0.3152, allocations: 7.984 kB / 1.167 GB, free: 6.148 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.563e-05/0.3152, allocations: 11.94 kB / 1.167 GB, free: 6.137 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 5.881e-05/0.3153, allocations: 11.97 kB / 1.167 GB, free: 6.125 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.3153, allocations: 7.938 kB / 1.167 GB, free: 6.117 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004272/0.3158, allocations: 271.7 kB / 1.168 GB, free: 5.852 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.763e-05/0.3158, allocations: 7.984 kB / 1.168 GB, free: 5.844 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 2.322e-05/0.3158, allocations: 7.938 kB / 1.168 GB, free: 5.836 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002098/0.316, allocations: 107.9 kB / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.316, allocations: 0 / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.152e-06/0.316, allocations: 0 / 1.168 GB, free: 5.73 MB / 0.92 GB Notification: Performance of Transformations before backend: time 8.256e-06/0.3161, allocations: 4 kB / 1.168 GB, free: 5.727 MB / 0.92 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.0004801/0.3165, allocations: 363.1 kB / 1.168 GB, free: 5.32 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.3166, allocations: 8.031 kB / 1.168 GB, free: 5.312 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.186e-05/0.3167, allocations: 46.67 kB / 1.168 GB, free: 5.258 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.419e-05/0.3167, allocations: 8.891 kB / 1.168 GB, free: 5.25 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.3169, allocations: 164.3 kB / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3169, allocations: 384 / 1.168 GB, free: 5.051 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.33e-05/0.3169, allocations: 12.36 kB / 1.168 GB, free: 5.039 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.3171, allocations: 46.25 kB / 1.168 GB, free: 4.988 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.3171, allocations: 3.938 kB / 1.168 GB, free: 4.984 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.3171, allocations: 4 kB / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3171, allocations: 0 / 1.168 GB, free: 4.98 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.845e-05/0.3172, allocations: 23.92 kB / 1.168 GB, free: 4.957 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002063/0.3174, allocations: 169.6 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00011/0.3175, allocations: 54.56 kB / 1.169 GB, free: 4.68 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.963e-05/0.3176, allocations: 36.78 kB / 1.169 GB, free: 4.641 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007216/0.3183, allocations: 453.5 kB / 1.169 GB, free: 4.105 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.866e-05/0.3184, allocations: 42.55 kB / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.3184, allocations: 0 / 1.169 GB, free: 4.055 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.001367/0.3197, allocations: 0.5954 MB / 1.17 GB, free: 3.367 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.3198, allocations: 59.33 kB / 1.17 GB, free: 3.297 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.14e-05/0.3199, allocations: 97.86 kB / 1.17 GB, free: 3.191 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.443e-05/0.32, allocations: 25.7 kB / 1.17 GB, free: 3.16 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.322e-05/0.32, allocations: 84.14 kB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 6.485e-05/0.3201, allocations: 47.64 kB / 1.17 GB, free: 3.027 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.084e-05/0.3202, allocations: 25.7 kB / 1.17 GB, free: 2.996 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.3204, allocations: 314.8 kB / 1.17 GB, free: 2.68 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.3205, allocations: 23.98 kB / 1.17 GB, free: 2.656 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.329e-05/0.3205, allocations: 16 kB / 1.17 GB, free: 2.641 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.3206, allocations: 64.84 kB / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.82e-07/0.3206, allocations: 0 / 1.17 GB, free: 2.574 MB / 0.92 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001702/0.3208, allocations: 97.06 kB / 1.17 GB, free: 2.477 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/0.3208, allocations: 8 kB / 1.17 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.3209, allocations: 0 / 1.17 GB, free: 2.469 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.3209, allocations: 4 kB / 1.17 GB, free: 2.465 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.321, allocations: 19.98 kB / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.321, allocations: 0 / 1.171 GB, free: 2.445 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.453e-05/0.321, allocations: 4 kB / 1.171 GB, free: 2.441 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.766e-06/0.3211, allocations: 4 kB / 1.171 GB, free: 2.438 MB / 0.92 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 9.107e-05/0.3212, allocations: 113.8 kB / 1.171 GB, free: 2.316 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.204e-05/0.3212, allocations: 15.89 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002126/0.3214, allocations: 109.8 kB / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3214, allocations: 0 / 1.171 GB, free: 2.18 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.3214, allocations: 4 kB / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.055e-06/0.3214, allocations: 192 / 1.171 GB, free: 2.176 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004184/0.3219, allocations: 350.5 kB / 1.171 GB, free: 1.777 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.3219, allocations: 4.078 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001126/0.322, allocations: 27.92 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.322, allocations: 0 / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.322, allocations: 4 kB / 1.171 GB, free: 1.742 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.322, allocations: 4 kB / 1.171 GB, free: 1.738 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.322, allocations: 7.938 kB / 1.171 GB, free: 1.73 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003905/0.3224, allocations: 219.7 kB / 1.171 GB, free: 1.5 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 9.629e-05/0.3225, allocations: 89.08 kB / 1.171 GB, free: 1.395 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.615e-05/0.3226, allocations: 4 kB / 1.171 GB, free: 1.391 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.266e-05/0.3227, allocations: 4 kB / 1.171 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.936e-05/0.3227, allocations: 7.984 kB / 1.171 GB, free: 1.379 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.014e-06/0.3227, allocations: 4.062 kB / 1.171 GB, free: 1.375 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.473e-05/0.3227, allocations: 83.28 kB / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3228, allocations: 0 / 1.172 GB, free: 1.293 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.000293/0.323, allocations: 43.88 kB / 1.172 GB, free: 1.25 MB / 0.92 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.0008397/0.3239, allocations: 0.7982 MB / 1.172 GB, free: 436 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0001651/0.3241, allocations: 64.03 kB / 1.172 GB, free: 372 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.3241, allocations: 3.938 kB / 1.172 GB, free: 368 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 5.666e-05/0.3241, allocations: 35.92 kB / 1.172 GB, free: 332 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002176/0.3244, allocations: 4 kB / 1.172 GB, free: 328 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.3259, allocations: 1.406 MB / 1.174 GB, free: 14.84 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.3262, allocations: 0.6885 MB / 1.174 GB, free: 14.12 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.318e-05/0.3263, allocations: 11.98 kB / 1.175 GB, free: 14.11 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.935e-05/0.3264, allocations: 15.44 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of SimCode: time 3.61e-07/0.3264, allocations: 3.938 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02482/0.3512, allocations: 2.481 MB / 1.177 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.156/8.507, allocations: 7.578 kB / 1.177 GB, free: 11.76 MB / 0.9356 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)