Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="IBPSA_latest_IBPSA_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.001106/0.001106, allocations: 102.3 kB / 16.27 MB, free: 5.992 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.001136/0.001136, allocations: 185.1 kB / 17.2 MB, free: 5.605 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.305/1.305, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7382/0.7382, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.00139, allocations: 63.89 kB / 0.4912 GB, free: 7.375 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3202/0.3217, allocations: 77.93 MB / 0.5673 GB, free: 32.73 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001924/0.3236, allocations: 0.607 MB / 0.5679 GB, free: 32.36 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006549/0.3243, allocations: 347.5 kB / 0.5682 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.757e-05/0.3243, allocations: 0 / 0.5682 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.367e-05/0.3244, allocations: 1.656 kB / 0.5682 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 3.395e-05/0.3244, allocations: 5.156 kB / 0.5682 GB, free: 32.13 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005197/0.3249, allocations: 127.9 kB / 0.5684 GB, free: 32.08 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 6.026e-05/0.325, allocations: 21.53 kB / 0.5684 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.3251, allocations: 4.75 kB / 0.5684 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.156e-05/0.3251, allocations: 11.38 kB / 0.5684 GB, free: 32.07 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.512e-05/0.3252, allocations: 15.31 kB / 0.5684 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.457e-05/0.3252, allocations: 1.281 kB / 0.5684 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000412/0.3256, allocations: 278 kB / 0.5687 GB, free: 31.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.3256, allocations: 11.5 kB / 0.5687 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.869e-05/0.3257, allocations: 10 kB / 0.5687 GB, free: 31.98 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002056/0.3259, allocations: 108.3 kB / 0.5688 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3259, allocations: 0 / 0.5688 GB, free: 31.94 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.3259, allocations: 0 / 0.5688 GB, free: 31.94 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.054e-05/0.3259, allocations: 3.281 kB / 0.5688 GB, free: 31.94 MB / 446.1 MB 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.0003672/0.3263, allocations: 354.5 kB / 0.5691 GB, free: 31.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.3263, allocations: 10.88 kB / 0.5691 GB, free: 31.57 MB / 446.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.492e-05/0.3264, allocations: 41.5 kB / 0.5692 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.251e-05/0.3264, allocations: 5.578 kB / 0.5692 GB, free: 31.52 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.621e-05/0.3265, allocations: 169.5 kB / 0.5694 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.142e-05/0.3265, allocations: 4.062 kB / 0.5694 GB, free: 31.32 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.414e-05/0.3265, allocations: 11.09 kB / 0.5694 GB, free: 31.31 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.3267, allocations: 46.94 kB / 0.5694 GB, free: 31.28 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.3267, allocations: 9.422 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.3267, allocations: 5.312 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.3267, allocations: 2.031 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.111e-05/0.3268, allocations: 13.61 kB / 0.5694 GB, free: 31.27 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001326/0.3269, allocations: 165 kB / 0.5696 GB, free: 31.07 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.139e-05/0.327, allocations: 57.97 kB / 0.5697 GB, free: 31.04 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.888e-05/0.327, allocations: 27.72 kB / 0.5697 GB, free: 31.02 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006031/0.3276, allocations: 462.4 kB / 0.5701 GB, free: 30.55 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.3277, allocations: 42.8 kB / 0.5702 GB, free: 30.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=7): time 1.222e-06/0.3277, allocations: 0.9062 kB / 0.5702 GB, free: 30.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=11): time 0.001158/0.3288, allocations: 0.5872 MB / 0.5707 GB, free: 29.99 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.237e-05/0.3289, allocations: 54.5 kB / 0.5708 GB, free: 29.93 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.446e-05/0.3289, allocations: 100.2 kB / 0.5709 GB, free: 29.82 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.256e-05/0.329, allocations: 26.98 kB / 0.5709 GB, free: 29.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.098e-05/0.329, allocations: 85.75 kB / 0.571 GB, free: 29.71 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.329, allocations: 43.58 kB / 0.571 GB, free: 29.67 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.294e-05/0.3291, allocations: 29.08 kB / 0.5711 GB, free: 29.65 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.173e-05/0.3292, allocations: 315.1 kB / 0.5714 GB, free: 29.34 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-05/0.3292, allocations: 22.22 kB / 0.5714 GB, free: 29.33 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.955e-05/0.3293, allocations: 26.06 kB / 0.5714 GB, free: 29.32 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.711e-05/0.3293, allocations: 59.02 kB / 0.5715 GB, free: 29.29 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.82e-07/0.3294, allocations: 0.7812 kB / 0.5715 GB, free: 29.29 MB / 446.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001493/0.3295, allocations: 96.06 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3295, allocations: 6.156 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.3295, allocations: 0.8438 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.494e-05/0.3296, allocations: 5.578 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.3297, allocations: 24.97 kB / 0.5716 GB, free: 29.23 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/0.3297, allocations: 5.031 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.216e-05/0.3297, allocations: 4.594 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.167e-06/0.3297, allocations: 2.938 kB / 0.5716 GB, free: 29.22 MB / 446.1 MB 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 5.949e-05/0.3298, allocations: 117.7 kB / 0.5717 GB, free: 29.1 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.881e-05/0.3298, allocations: 12.19 kB / 0.5717 GB, free: 29.09 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001817/0.33, allocations: 100.9 kB / 0.5718 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.33, allocations: 1.188 kB / 0.5718 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.33, allocations: 0.8125 kB / 0.5718 GB, free: 29.04 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.693e-06/0.33, allocations: 6.141 kB / 0.5718 GB, free: 29.03 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003238/0.3304, allocations: 350.9 kB / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3304, allocations: 0 / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.3305, allocations: 24.91 kB / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3305, allocations: 0 / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.577e-06/0.3305, allocations: 2.969 kB / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.3305, allocations: 5.891 kB / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.3305, allocations: 0 / 0.5722 GB, free: 28.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002176/0.3308, allocations: 227.1 kB / 0.5724 GB, free: 28.52 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.552e-05/0.3308, allocations: 85.52 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.746e-05/0.3308, allocations: 5.953 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.063e-05/0.3309, allocations: 2.875 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.709e-05/0.3309, allocations: 6.141 kB / 0.5725 GB, free: 28.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.047e-06/0.331, allocations: 8.375 kB / 0.5725 GB, free: 28.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 2.357e-05/0.331, allocations: 80.28 kB / 0.5726 GB, free: 28.35 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.331, allocations: 0 / 0.5726 GB, free: 28.35 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002918/0.3313, allocations: 48 kB / 0.5726 GB, free: 28.34 MB / 446.1 MB 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.0004774/0.3318, allocations: 0.7943 MB / 0.5734 GB, free: 27.63 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001426/0.3319, allocations: 66.02 kB / 0.5735 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3319, allocations: 2.781 kB / 0.5735 GB, free: 27.61 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.737e-05/0.332, allocations: 32.77 kB / 0.5735 GB, free: 27.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.3322, allocations: 7.609 kB / 0.5735 GB, free: 27.6 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001061/0.3333, allocations: 1.386 MB / 0.5749 GB, free: 26.35 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001198/0.3334, allocations: 0.6864 MB / 0.5755 GB, free: 25.66 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 4.792e-05/0.3335, allocations: 14.53 kB / 0.5756 GB, free: 25.65 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.52e-05/0.3335, allocations: 18.53 kB / 0.5756 GB, free: 25.64 MB / 446.1 MB Notification: Performance of SimCode: time 8.31e-07/0.3335, allocations: 0 / 0.5756 GB, free: 25.64 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02021/0.3537, allocations: 2.462 MB / 0.578 GB, free: 25.31 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.136/7.49, allocations: 10.67 kB / 0.578 GB, free: 25.31 MB / 446.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)