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.0009012/0.0009012, 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.0009757/0.0009757, allocations: 165.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.9295/0.9295, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.832/1.832, allocations: 389 MB / 0.633 GB, free: 12.68 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.403e-06/1.403e-06, allocations: 0 / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.024e-05/2.164e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.43 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check): time 0.001237/0.001259, allocations: 0.6227 MB / 1 GB, free: 12.81 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0004629/0.001722, allocations: 318.8 kB / 1.001 GB, free: 12.5 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.313e-05/0.001745, allocations: 7.875 kB / 1.001 GB, free: 12.49 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 1.445e-05/0.001759, allocations: 7.938 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 2.984e-05/0.001789, allocations: 4 kB / 1.001 GB, free: 12.48 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000422/0.002211, allocations: 123.5 kB / 1.001 GB, free: 12.36 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.679e-05/0.002288, allocations: 19.98 kB / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.002335, allocations: 0 / 1.001 GB, free: 12.34 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.002403, allocations: 19.92 kB / 1.001 GB, free: 12.32 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.138e-05/0.002464, allocations: 11.97 kB / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.671e-05/0.002481, allocations: 0 / 1.001 GB, free: 12.3 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002936/0.002775, allocations: 263.6 kB / 1.001 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.104e-05/0.002796, allocations: 7.984 kB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.367e-05/0.002819, allocations: 15.92 kB / 1.001 GB, free: 12.02 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000195/0.003014, allocations: 123.7 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.003017, allocations: 0 / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.194e-06/0.003019, allocations: 4 kB / 1.001 GB, free: 11.9 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.003023, allocations: 0 / 1.001 GB, free: 11.9 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.0003979/0.003421, allocations: 282.1 kB / 1.001 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.003469, allocations: 12.75 kB / 1.001 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.257e-05/0.003502, allocations: 30.75 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.272e-05/0.003565, allocations: 4.938 kB / 1.002 GB, free: 11.54 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.91e-05/0.003654, allocations: 109.7 kB / 1.002 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.377e-05/0.003668, allocations: 12.31 kB / 1.002 GB, free: 11.39 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.429e-05/0.003702, allocations: 12.27 kB / 1.002 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001541/0.003856, allocations: 101.6 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.201e-05/0.003868, allocations: 192 / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.36e-05/0.003882, allocations: 4.375 kB / 1.002 GB, free: 11.26 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.003888, allocations: 4.125 kB / 1.002 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.25e-05/0.003941, allocations: 19.98 kB / 1.002 GB, free: 11.23 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001594/0.0041, allocations: 136.7 kB / 1.002 GB, free: 11.06 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001011/0.004201, allocations: 54.5 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.004239, allocations: 36.84 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003405/0.00458, allocations: 71.92 kB / 1.002 GB, free: 10.89 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.234e-05/0.004602, allocations: 34.56 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.212e-06/0.004603, allocations: 4 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of matching and sorting (n=11): time 0.000854/0.005457, allocations: 459.7 kB / 1.003 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.792e-05/0.005485, allocations: 55.41 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.785e-05/0.005533, allocations: 97.84 kB / 1.003 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.27e-05/0.005546, allocations: 29.7 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 2.363e-05/0.00557, allocations: 80.14 kB / 1.003 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.983e-05/0.005599, allocations: 35.69 kB / 1.003 GB, free: 10.01 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4e-05/0.005639, allocations: 29.72 kB / 1.003 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.524e-05/0.005715, allocations: 322.8 kB / 1.003 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/0.005745, allocations: 16 kB / 1.003 GB, free: 9.637 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.005775, allocations: 26.86 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.277e-05/0.005847, allocations: 52.8 kB / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.32e-07/0.005848, allocations: 0 / 1.003 GB, free: 9.559 MB / 0.9636 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001163/0.005965, allocations: 105.6 kB / 1.003 GB, free: 9.449 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/0.005981, allocations: 7.938 kB / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005986, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.006, allocations: 0 / 1.003 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.422e-05/0.006084, allocations: 23.98 kB / 1.003 GB, free: 9.418 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.00609, allocations: 7.984 kB / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.324e-05/0.006103, allocations: 96 / 1.003 GB, free: 9.41 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.006112, allocations: 11.94 kB / 1.003 GB, free: 9.398 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 6.393e-05/0.006176, allocations: 117.8 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.754e-05/0.006193, allocations: 7.953 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001434/0.006336, allocations: 105.7 kB / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.006339, allocations: 0 / 1.004 GB, free: 9.152 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.006344, allocations: 4 kB / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.006347, allocations: 0 / 1.004 GB, free: 9.148 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003234/0.006671, allocations: 325.5 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.006673, allocations: 4 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.078e-05/0.006743, allocations: 20 kB / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.006746, allocations: 0 / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.504e-06/0.006754, allocations: 0 / 1.004 GB, free: 8.758 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.101e-06/0.00676, allocations: 11.98 kB / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.006762, allocations: 0 / 1.004 GB, free: 8.746 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.00696, allocations: 219.4 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.006987, allocations: 7.984 kB / 1.004 GB, free: 8.508 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.007, allocations: 4 kB / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.769e-05/0.007047, allocations: 0 / 1.004 GB, free: 8.504 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.007066, allocations: 11.92 kB / 1.004 GB, free: 8.492 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.795e-06/0.007074, allocations: 12.06 kB / 1.004 GB, free: 8.48 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 2.283e-05/0.007097, allocations: 75.28 kB / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007097, allocations: 0 / 1.004 GB, free: 8.406 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001982/0.007295, allocations: 51.86 kB / 1.004 GB, free: 8.355 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.0004705/0.007765, allocations: 0.7934 MB / 1.005 GB, free: 7.539 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.007882, allocations: 63.97 kB / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.007883, allocations: 0 / 1.005 GB, free: 7.477 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.169e-05/0.007915, allocations: 31.92 kB / 1.005 GB, free: 7.445 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001675/0.008083, allocations: 4 kB / 1.005 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001065/0.009148, allocations: 1.398 MB / 1.007 GB, free: 5.965 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.755e-05/0.009196, allocations: 71.34 kB / 1.007 GB, free: 5.875 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 4.577e-05/0.009241, allocations: 12.25 kB / 1.007 GB, free: 5.863 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.776e-05/0.009279, allocations: 16.5 kB / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of SimCode: time 7.12e-07/0.00928, allocations: 0 / 1.007 GB, free: 5.848 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01979/0.02907, allocations: 3.124 MB / 1.01 GB, free: 2.883 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.846/6.875, allocations: 7.922 kB / 1.01 GB, free: 2.875 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivative_2_Check_res.mat --tempDir=temp_Buildings_latest_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivative_2_Check_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=800 --tolerance=1e-08 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.052280439063907] Failed to read output from testmodel.py, exit status != 0: 6.959574772045016 6.97521069 6.968959657 Calling exit ...