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.001482/0.001482, 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.0017/0.0017, allocations: 197 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.379/1.379, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.374/2.374, allocations: 390.2 MB / 0.6647 GB, free: 496 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001431/0.001431, allocations: 71.88 kB / 0.8127 GB, free: 14.41 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6286/0.63, allocations: 140.4 MB / 0.9497 GB, free: 9.258 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001827/0.6319, allocations: 0.6143 MB / 0.9503 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.000584/0.6325, allocations: 356.1 kB / 0.9507 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.488e-05/0.6325, allocations: 1.688 kB / 0.9507 GB, free: 8.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.363e-05/0.6326, allocations: 3.938 kB / 0.9507 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 2.797e-05/0.6326, allocations: 4 kB / 0.9507 GB, free: 8.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004275/0.633, allocations: 113.7 kB / 0.9508 GB, free: 8.434 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.741e-05/0.6331, allocations: 18.55 kB / 0.9508 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.373e-05/0.6332, allocations: 2.438 kB / 0.9508 GB, free: 8.426 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.93e-05/0.6332, allocations: 17.48 kB / 0.9508 GB, free: 8.414 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 4.952e-05/0.6332, allocations: 15.33 kB / 0.9508 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.6333, allocations: 1.594 kB / 0.9508 GB, free: 8.402 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003217/0.6336, allocations: 272 kB / 0.9511 GB, free: 8.254 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.6336, allocations: 9.344 kB / 0.9511 GB, free: 8.246 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.224e-05/0.6336, allocations: 15.86 kB / 0.9511 GB, free: 8.234 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.6338, allocations: 102.9 kB / 0.9512 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.6338, allocations: 0 / 0.9512 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.283e-06/0.6338, allocations: 0 / 0.9512 GB, free: 8.164 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.498e-06/0.6338, allocations: 1.219 kB / 0.9512 GB, free: 8.164 MB / 0.7169 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.0003391/0.6342, allocations: 359.1 kB / 0.9516 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.635e-05/0.6342, allocations: 9.469 kB / 0.9516 GB, free: 7.781 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.432e-05/0.6343, allocations: 36.66 kB / 0.9516 GB, free: 7.738 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.211e-05/0.6343, allocations: 7.875 kB / 0.9516 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.752e-05/0.6344, allocations: 174 kB / 0.9518 GB, free: 7.527 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.6344, allocations: 5.656 kB / 0.9518 GB, free: 7.523 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.02e-05/0.6344, allocations: 7.047 kB / 0.9518 GB, free: 7.52 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000106/0.6345, allocations: 45.88 kB / 0.9518 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.142e-05/0.6346, allocations: 11.88 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.6346, allocations: 1.219 kB / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.6346, allocations: 0 / 0.9518 GB, free: 7.469 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.632e-05/0.6346, allocations: 19.92 kB / 0.9519 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001257/0.6348, allocations: 174.2 kB / 0.952 GB, free: 7.25 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.812e-05/0.6349, allocations: 62.47 kB / 0.9521 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.776e-05/0.6349, allocations: 22.17 kB / 0.9521 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.6355, allocations: 464.7 kB / 0.9526 GB, free: 6.691 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.916e-05/0.6355, allocations: 31.84 kB / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=7): time 1.082e-06/0.6355, allocations: 0 / 0.9526 GB, free: 6.652 MB / 0.7169 GB Notification: Performance of matching and sorting (n=11): time 0.001085/0.6366, allocations: 0.5908 MB / 0.9532 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.29e-05/0.6366, allocations: 56.78 kB / 0.9532 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.709e-05/0.6367, allocations: 101.3 kB / 0.9533 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.788e-06/0.6367, allocations: 30.8 kB / 0.9533 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 1.273e-05/0.6367, allocations: 81.48 kB / 0.9534 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.773e-05/0.6367, allocations: 40.02 kB / 0.9535 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.623e-05/0.6368, allocations: 26.59 kB / 0.9535 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 3.712e-05/0.6368, allocations: 320 kB / 0.9538 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.857e-05/0.6369, allocations: 20.03 kB / 0.9538 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.494e-05/0.6369, allocations: 25.14 kB / 0.9538 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.298e-05/0.637, allocations: 52.45 kB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.11e-07/0.637, allocations: 1.031 kB / 0.9539 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001387/0.6371, allocations: 101 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/0.6372, allocations: 5.219 kB / 0.954 GB, free: 5.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.731e-06/0.6372, allocations: 3.984 kB / 0.954 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.162e-05/0.6372, allocations: 5.344 kB / 0.954 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.649e-05/0.6373, allocations: 25.58 kB / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.6373, allocations: 96 / 0.954 GB, free: 5.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.29e-05/0.6373, allocations: 5.75 kB / 0.954 GB, free: 5.309 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.6373, allocations: 6.625 kB / 0.954 GB, free: 5.305 MB / 0.7169 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.6374, allocations: 112.8 kB / 0.9541 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.6374, allocations: 10.25 kB / 0.9541 GB, free: 5.18 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001637/0.6376, allocations: 107.3 kB / 0.9543 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.6376, allocations: 5.609 kB / 0.9543 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.6376, allocations: 4 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.6376, allocations: 1.062 kB / 0.9543 GB, free: 5.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002832/0.6379, allocations: 357.5 kB / 0.9546 GB, free: 4.738 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.6379, allocations: 3.938 kB / 0.9546 GB, free: 4.734 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001032/0.638, allocations: 21.58 kB / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.638, allocations: 0 / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.985e-06/0.6381, allocations: 1.25 kB / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.6381, allocations: 1.281 kB / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.6381, allocations: 0 / 0.9546 GB, free: 4.73 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.6383, allocations: 218.2 kB / 0.9548 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.275e-05/0.6383, allocations: 92.38 kB / 0.9549 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.6383, allocations: 1.156 kB / 0.9549 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.117e-05/0.6384, allocations: 2.188 kB / 0.9549 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.047e-05/0.6384, allocations: 23.42 kB / 0.955 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.254e-06/0.6385, allocations: 2.281 kB / 0.955 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.729e-05/0.6385, allocations: 77.75 kB / 0.955 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6385, allocations: 1 kB / 0.955 GB, free: 4.355 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002701/0.6388, allocations: 52.42 kB / 0.9551 GB, free: 4.336 MB / 0.7169 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.0004604/0.6392, allocations: 0.7865 MB / 0.9558 GB, free: 3.621 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001469/0.6394, allocations: 63.64 kB / 0.9559 GB, free: 3.598 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.647e-06/0.6394, allocations: 5.375 kB / 0.9559 GB, free: 3.594 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 4.825e-05/0.6394, allocations: 32.36 kB / 0.9559 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002193/0.6397, allocations: 10.5 kB / 0.956 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009994/0.6407, allocations: 1.397 MB / 0.9573 GB, free: 2.277 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001122/0.6408, allocations: 0.6909 MB / 0.958 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 4.678e-05/0.6409, allocations: 6.094 kB / 0.958 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.295e-05/0.6409, allocations: 21.25 kB / 0.958 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of SimCode: time 3.51e-07/0.6409, allocations: 0 / 0.958 GB, free: 1.555 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01915/0.6601, allocations: 2.441 MB / 0.9604 GB, free: 320 kB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.219/7.88, allocations: 13.25 kB / 0.9604 GB, free: 308 kB / 0.7169 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)