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.006052/0.006052, allocations: 99.83 kB / 15.73 MB, free: 6.012 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.001307/0.001307, allocations: 193.5 kB / 16.67 MB, free: 5.93 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.367/1.367, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.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.468/2.468, allocations: 437 MB / 0.7105 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001245/0.001245, allocations: 59.91 kB / 1.018 GB, free: 9.887 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.799/0.8002, allocations: 151.6 MB / 1.166 GB, free: 3.785 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.00195/0.8022, allocations: 0.6228 MB / 1.167 GB, free: 3.168 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0007388/0.803, allocations: 358.7 kB / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.214e-05/0.803, allocations: 0 / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.822e-05/0.8031, allocations: 0 / 1.167 GB, free: 2.816 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.416e-05/0.8031, allocations: 3.938 kB / 1.167 GB, free: 2.812 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000471/0.8036, allocations: 115.7 kB / 1.167 GB, free: 2.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 7.193e-05/0.8037, allocations: 27.92 kB / 1.167 GB, free: 2.672 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.679e-05/0.8037, allocations: 4 kB / 1.167 GB, free: 2.668 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.8038, allocations: 11.92 kB / 1.167 GB, free: 2.656 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 5.708e-05/0.8038, allocations: 11.98 kB / 1.167 GB, free: 2.645 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.439e-05/0.8038, allocations: 7.922 kB / 1.167 GB, free: 2.637 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003849/0.8042, allocations: 275.7 kB / 1.168 GB, free: 2.367 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.634e-05/0.8043, allocations: 7.984 kB / 1.168 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 2.534e-05/0.8043, allocations: 11.94 kB / 1.168 GB, free: 2.348 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001914/0.8045, allocations: 103.4 kB / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.8045, allocations: 0 / 1.168 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8045, allocations: 4 kB / 1.168 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 9.057e-06/0.8045, allocations: 0 / 1.168 GB, free: 2.246 MB / 0.8887 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.0004679/0.805, allocations: 359.2 kB / 1.168 GB, free: 1.844 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.939e-05/0.805, allocations: 12.92 kB / 1.168 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.876e-05/0.8051, allocations: 30.75 kB / 1.168 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.8052, allocations: 12.89 kB / 1.168 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000116/0.8053, allocations: 168.3 kB / 1.168 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.8053, allocations: 4.375 kB / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.906e-05/0.8053, allocations: 384 / 1.168 GB, free: 1.574 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001215/0.8054, allocations: 58.19 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.321e-05/0.8055, allocations: 3.938 kB / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.8055, allocations: 0 / 1.168 GB, free: 1.508 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.743e-06/0.8055, allocations: 4 kB / 1.168 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.38e-05/0.8056, allocations: 15.98 kB / 1.168 GB, free: 1.488 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001903/0.8057, allocations: 165.7 kB / 1.169 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001091/0.8059, allocations: 58.56 kB / 1.169 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.568e-05/0.8059, allocations: 44.89 kB / 1.169 GB, free: 1.164 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006498/0.8066, allocations: 457.5 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.521e-05/0.8066, allocations: 34.56 kB / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=7): time 1.132e-06/0.8066, allocations: 0 / 1.169 GB, free: 0.582 MB / 0.8887 GB Notification: Performance of matching and sorting (n=11): time 0.001222/0.8078, allocations: 0.5911 MB / 1.17 GB, free: 15.9 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.344e-05/0.8079, allocations: 55.34 kB / 1.17 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.808, allocations: 109.8 kB / 1.17 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.053e-05/0.808, allocations: 33.7 kB / 1.17 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.006e-05/0.808, allocations: 80.14 kB / 1.17 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 3.91e-05/0.8081, allocations: 39.64 kB / 1.17 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.516e-05/0.8081, allocations: 25.72 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.954e-05/0.8082, allocations: 318.9 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.861e-05/0.8083, allocations: 23.92 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.702e-05/0.8083, allocations: 27.34 kB / 1.17 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.001e-05/0.8084, allocations: 58.41 kB / 1.17 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.82e-07/0.8084, allocations: 4 kB / 1.17 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001579/0.8086, allocations: 97.62 kB / 1.17 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.479e-05/0.8086, allocations: 8 kB / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.8086, allocations: 0 / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.158e-05/0.8086, allocations: 0 / 1.17 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8088, allocations: 19.98 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.8088, allocations: 4.547 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.476e-05/0.8088, allocations: 4 kB / 1.171 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.8088, allocations: 4 kB / 1.171 GB, free: 14.95 MB / 0.9044 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.474e-05/0.8089, allocations: 117.8 kB / 1.171 GB, free: 14.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.94e-05/0.8089, allocations: 11.89 kB / 1.171 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001889/0.8091, allocations: 109.5 kB / 1.171 GB, free: 14.7 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8091, allocations: 4 kB / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.8091, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8091, allocations: 0 / 1.171 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.8095, allocations: 350.5 kB / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.8095, allocations: 0 / 1.171 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001042/0.8096, allocations: 19.98 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.8097, allocations: 4 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.118e-05/0.8097, allocations: 4 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.8097, allocations: 0 / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.8097, allocations: 3.938 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.8099, allocations: 223.4 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.738e-05/0.81, allocations: 85.06 kB / 1.171 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.607e-05/0.81, allocations: 7.984 kB / 1.171 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.507e-05/0.8101, allocations: 8 kB / 1.171 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.604e-05/0.8101, allocations: 8.062 kB / 1.171 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.819e-06/0.8102, allocations: 7.984 kB / 1.171 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.1e-05/0.8102, allocations: 75.28 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8102, allocations: 3.938 kB / 1.172 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002717/0.8105, allocations: 47.88 kB / 1.172 GB, free: 13.77 MB / 0.9044 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.0006337/0.8111, allocations: 0.8003 MB / 1.172 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001426/0.8113, allocations: 59.91 kB / 1.172 GB, free: 12.89 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.8113, allocations: 7.938 kB / 1.172 GB, free: 12.88 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 4.829e-05/0.8113, allocations: 32.05 kB / 1.172 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/0.8116, allocations: 9.125 kB / 1.172 GB, free: 12.84 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001279/0.8128, allocations: 1.385 MB / 1.174 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.8131, allocations: 0.6846 MB / 1.174 GB, free: 10.67 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.988e-05/0.8132, allocations: 12.05 kB / 1.174 GB, free: 10.66 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.703e-05/0.8132, allocations: 19.44 kB / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.8132, allocations: 0 / 1.175 GB, free: 10.64 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02083/0.8341, allocations: 2.489 MB / 1.177 GB, free: 8.301 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/8.493, allocations: 9.953 kB / 1.177 GB, free: 8.293 MB / 0.9044 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)