Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008171/0.008172, allocations: 99.62 kB / 15.73 MB, free: 6.043 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.001995/0.001995, allocations: 191.2 kB / 16.67 MB, free: 5.957 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.23/2.23, allocations: 390.3 MB / 0.6648 GB, free: 0.6523 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001353/0.001353, allocations: 59.91 kB / 0.9504 GB, free: 8.117 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7251/0.7265, allocations: 140.4 MB / 1.088 GB, free: 5.281 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001558/0.7281, allocations: 0.6228 MB / 1.088 GB, free: 4.898 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0005834/0.7287, allocations: 348.6 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.587e-05/0.7287, allocations: 0 / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.164e-05/0.7287, allocations: 1.156 kB / 1.088 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 2.873e-05/0.7288, allocations: 3.938 kB / 1.088 GB, free: 4.668 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004294/0.7292, allocations: 119.4 kB / 1.089 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 5.668e-05/0.7293, allocations: 26.38 kB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.963e-05/0.7293, allocations: 4.109 kB / 1.089 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.559e-05/0.7294, allocations: 10.11 kB / 1.089 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.477e-05/0.7294, allocations: 17.97 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.213e-05/0.7294, allocations: 2.219 kB / 1.089 GB, free: 4.598 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003935/0.7298, allocations: 274.5 kB / 1.089 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.649e-05/0.7299, allocations: 11.09 kB / 1.089 GB, free: 4.523 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.223e-05/0.7299, allocations: 8.531 kB / 1.089 GB, free: 4.52 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.7301, allocations: 108.6 kB / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.7301, allocations: 0 / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.102e-06/0.7301, allocations: 0 / 1.089 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.7301, allocations: 1.094 kB / 1.089 GB, free: 4.48 MB / 0.8575 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.0003298/0.7304, allocations: 355.5 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.7305, allocations: 9.438 kB / 1.089 GB, free: 4.109 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.733e-05/0.7305, allocations: 37.12 kB / 1.089 GB, free: 4.066 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.374e-05/0.7306, allocations: 8.062 kB / 1.089 GB, free: 4.062 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.378e-05/0.7307, allocations: 166.7 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.524e-06/0.7307, allocations: 1.562 kB / 1.09 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.7307, allocations: 12.88 kB / 1.09 GB, free: 3.855 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001028/0.7308, allocations: 53.92 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.7308, allocations: 3.938 kB / 1.09 GB, free: 3.809 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.147e-06/0.7308, allocations: 5.922 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.7308, allocations: 1.125 kB / 1.09 GB, free: 3.805 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.958e-05/0.7309, allocations: 18.03 kB / 1.09 GB, free: 3.801 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001373/0.731, allocations: 171.8 kB / 1.09 GB, free: 3.598 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.439e-05/0.7311, allocations: 60.53 kB / 1.09 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.275e-05/0.7312, allocations: 31.77 kB / 1.09 GB, free: 3.539 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005875/0.7318, allocations: 459.5 kB / 1.09 GB, free: 3.066 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.61e-05/0.7318, allocations: 36.2 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.7318, allocations: 1.094 kB / 1.09 GB, free: 3.023 MB / 0.8575 GB Notification: Performance of matching and sorting (n=11): time 0.001172/0.733, allocations: 0.5946 MB / 1.091 GB, free: 2.5 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.707e-05/0.733, allocations: 53.3 kB / 1.091 GB, free: 2.438 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.272e-05/0.7331, allocations: 99.62 kB / 1.091 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.7331, allocations: 26.92 kB / 1.091 GB, free: 2.305 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.623e-05/0.7331, allocations: 85.23 kB / 1.091 GB, free: 2.219 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.442e-05/0.7332, allocations: 39.86 kB / 1.091 GB, free: 2.188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.794e-05/0.7332, allocations: 24.06 kB / 1.091 GB, free: 2.168 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.786e-05/0.7332, allocations: 317.8 kB / 1.092 GB, free: 1.852 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.265e-05/0.7333, allocations: 19.02 kB / 1.092 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.812e-05/0.7333, allocations: 32.31 kB / 1.092 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.658e-05/0.7334, allocations: 57.84 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.7334, allocations: 1.094 kB / 1.092 GB, free: 1.801 MB / 0.8575 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001402/0.7336, allocations: 99.59 kB / 1.092 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.7336, allocations: 9.938 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.7336, allocations: 0.5156 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.374e-05/0.7336, allocations: 0.8125 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001037/0.7337, allocations: 20.72 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.7337, allocations: 1.562 kB / 1.092 GB, free: 1.742 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.7338, allocations: 4 kB / 1.092 GB, free: 1.738 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.115e-06/0.7338, allocations: 4.125 kB / 1.092 GB, free: 1.738 MB / 0.8575 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 4.912e-05/0.7338, allocations: 117.4 kB / 1.092 GB, free: 1.617 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.793e-05/0.7339, allocations: 6.969 kB / 1.092 GB, free: 1.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001835/0.7341, allocations: 109.5 kB / 1.092 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7341, allocations: 5.703 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7341, allocations: 0.625 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.7341, allocations: 0.75 kB / 1.092 GB, free: 1.539 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003848/0.7345, allocations: 357.5 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7345, allocations: 0 / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.7346, allocations: 20.41 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.7346, allocations: 1.062 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.7346, allocations: 5.547 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7347, allocations: 4.938 kB / 1.092 GB, free: 17.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7347, allocations: 4.438 kB / 1.092 GB, free: 17.19 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/0.7349, allocations: 220.1 kB / 1.093 GB, free: 17.02 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 6.542e-05/0.735, allocations: 87.34 kB / 1.093 GB, free: 16.93 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.735, allocations: 5.906 kB / 1.093 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.447e-05/0.7351, allocations: 2.781 kB / 1.093 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.33e-05/0.7351, allocations: 6.719 kB / 1.093 GB, free: 16.92 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.227e-06/0.7352, allocations: 11.08 kB / 1.093 GB, free: 16.91 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.034e-05/0.7352, allocations: 87.22 kB / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7352, allocations: 0 / 1.093 GB, free: 16.83 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0003036/0.7355, allocations: 46.45 kB / 1.093 GB, free: 16.82 MB / 0.8731 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.0006399/0.7362, allocations: 0.7853 MB / 1.094 GB, free: 16.12 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.7363, allocations: 69.55 kB / 1.094 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.7363, allocations: 1.031 kB / 1.094 GB, free: 16.1 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 5.148e-05/0.7364, allocations: 28.12 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.7366, allocations: 7.188 kB / 1.094 GB, free: 16.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001247/0.7379, allocations: 1.408 MB / 1.095 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002321/0.7381, allocations: 0.6865 MB / 1.096 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 4.942e-05/0.7382, allocations: 15.25 kB / 1.096 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.584e-05/0.7382, allocations: 17.64 kB / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of SimCode: time 2.31e-07/0.7382, allocations: 0 / 1.096 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01858/0.7568, allocations: 2.481 MB / 1.098 GB, free: 13.71 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.563/8.32, allocations: 4.812 kB / 1.098 GB, free: 13.71 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_9_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1)