Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009099/0.0009099, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.000846/0.000846, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8791/0.8791, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.765/1.765, allocations: 389 MB / 0.633 GB, free: 12.69 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check,fileNamePrefix="Buildings_latest_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_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.9997 GB, free: 13.46 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.218e-05/1.353e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.45 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.0009937/0.001007, allocations: 0.6253 MB / 1 GB, free: 12.83 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004453/0.001453, allocations: 314.8 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.138e-05/0.001474, allocations: 3.938 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.001489, allocations: 3.938 kB / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.282e-05/0.001512, allocations: 0 / 1.001 GB, free: 12.52 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003452/0.001857, allocations: 127.5 kB / 1.001 GB, free: 12.39 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 5.237e-05/0.001909, allocations: 19.98 kB / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 3.34e-05/0.001943, allocations: 0 / 1.001 GB, free: 12.37 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 4.604e-05/0.001989, allocations: 15.98 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 4.562e-05/0.002034, allocations: 15.91 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.002048, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000233/0.002281, allocations: 259.6 kB / 1.001 GB, free: 12.09 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.036e-05/0.002301, allocations: 11.97 kB / 1.001 GB, free: 12.07 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 1.663e-05/0.002318, allocations: 12 kB / 1.001 GB, free: 12.06 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.002471, allocations: 127.7 kB / 1.001 GB, free: 11.94 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 1.783e-06/0.002473, allocations: 3.938 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.71e-07/0.002474, allocations: 4 kB / 1.001 GB, free: 11.93 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 2.846e-06/0.002477, allocations: 0 / 1.001 GB, free: 11.93 MB / 0.9636 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.0003671/0.002844, allocations: 286 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.426e-05/0.002878, allocations: 8.75 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.772e-05/0.002906, allocations: 38.73 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.003e-05/0.002946, allocations: 4.938 kB / 1.002 GB, free: 11.56 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.354e-05/0.003009, allocations: 105.8 kB / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.255e-06/0.003018, allocations: 384 / 1.002 GB, free: 11.43 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.003037, allocations: 12.33 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001079/0.003145, allocations: 93.66 kB / 1.002 GB, free: 11.31 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.003153, allocations: 8.188 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.455e-06/0.003162, allocations: 4.375 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.109e-06/0.003167, allocations: 4.125 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.035e-05/0.003207, allocations: 27.91 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001222/0.00333, allocations: 132.7 kB / 1.002 GB, free: 11.09 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.003408, allocations: 54.56 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.229e-05/0.00344, allocations: 32.84 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003084/0.003749, allocations: 87.84 kB / 1.002 GB, free: 10.91 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.825e-05/0.003767, allocations: 30.56 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 8.81e-07/0.003768, allocations: 0 / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.0007536/0.004522, allocations: 447.8 kB / 1.003 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.73e-05/0.004549, allocations: 63.34 kB / 1.003 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.17e-05/0.004591, allocations: 97.86 kB / 1.003 GB, free: 10.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.004601, allocations: 29.64 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.196e-05/0.004623, allocations: 84.14 kB / 1.003 GB, free: 10.08 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.911e-05/0.004652, allocations: 39.62 kB / 1.003 GB, free: 10.04 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.224e-05/0.004685, allocations: 33.7 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.519e-05/0.00475, allocations: 310.8 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.004779, allocations: 23.98 kB / 1.003 GB, free: 9.664 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.649e-05/0.004806, allocations: 19.38 kB / 1.003 GB, free: 9.648 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.365e-05/0.004869, allocations: 56.84 kB / 1.003 GB, free: 9.59 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.31e-07/0.00487, allocations: 8 kB / 1.003 GB, free: 9.582 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 9.95e-05/0.00497, allocations: 97.64 kB / 1.003 GB, free: 9.48 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.004981, allocations: 9.812 kB / 1.003 GB, free: 9.473 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.004985, allocations: 3.938 kB / 1.003 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.05e-05/0.004996, allocations: 4 kB / 1.003 GB, free: 9.465 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.684e-05/0.005063, allocations: 19.98 kB / 1.003 GB, free: 9.445 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.01e-06/0.005068, allocations: 3.984 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.00508, allocations: 96 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.859e-06/0.005085, allocations: 7.938 kB / 1.003 GB, free: 9.434 MB / 0.9636 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.934e-05/0.005134, allocations: 113.8 kB / 1.004 GB, free: 9.312 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.432e-05/0.005148, allocations: 12 kB / 1.004 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001272/0.005275, allocations: 113.5 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.005277, allocations: 4 kB / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.437e-06/0.005281, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.005283, allocations: 0 / 1.004 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.005534, allocations: 317.6 kB / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.005535, allocations: 0 / 1.004 GB, free: 8.816 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.418e-05/0.005599, allocations: 27.92 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.005601, allocations: 0 / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.395e-06/0.005609, allocations: 4 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.005611, allocations: 4 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005612, allocations: 4 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001637/0.005776, allocations: 223.3 kB / 1.004 GB, free: 8.543 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.705e-05/0.005793, allocations: 4.031 kB / 1.004 GB, free: 8.539 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.179e-05/0.005805, allocations: 7.984 kB / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.347e-05/0.005848, allocations: 0 / 1.004 GB, free: 8.531 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.005863, allocations: 11.92 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.451e-06/0.005869, allocations: 4 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.271e-05/0.005892, allocations: 83.28 kB / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.005892, allocations: 0 / 1.004 GB, free: 8.434 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001806/0.006072, allocations: 43.92 kB / 1.004 GB, free: 8.391 MB / 0.9636 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.0003911/0.006463, allocations: 0.7947 MB / 1.005 GB, free: 7.57 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.006561, allocations: 60.02 kB / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.006562, allocations: 0 / 1.005 GB, free: 7.512 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.277e-05/0.006595, allocations: 43.8 kB / 1.005 GB, free: 7.469 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001464/0.006741, allocations: 4 kB / 1.005 GB, free: 7.465 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008135/0.007555, allocations: 1.396 MB / 1.007 GB, free: 5.988 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.078e-05/0.007596, allocations: 67.34 kB / 1.007 GB, free: 5.902 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.337e-05/0.007629, allocations: 12.06 kB / 1.007 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.212e-05/0.007661, allocations: 24.48 kB / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of SimCode: time 6.62e-07/0.007662, allocations: 0 / 1.007 GB, free: 5.867 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.02439, allocations: 3.108 MB / 1.01 GB, free: 2.918 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.004/7.029, allocations: 9.969 kB / 1.01 GB, free: 2.91 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; mkfifo Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe >> ../files/Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.csv --start-time -1 --stop-time 1 --timeout 800 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check.fmu > Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 11.127006778493524] Failed to read output from testmodel.py, exit status != 0: 7.111490779556334 7.119896024 7.115842573 Calling exit ...