Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.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.0008018/0.0008018, allocations: 100.3 kB / 19.72 MB, free: 428 kB / 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.0009199/0.0009199, allocations: 218.8 kB / 23.03 MB, free: 2.949 MB / 13.93 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.9982/0.9982, allocations: 230.6 MB / 256.8 MB, free: 9.59 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.997/1.997, allocations: 0.5045 GB / 0.8104 GB, free: 2.781 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck,fileNamePrefix="Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009896/0.0009896, allocations: 71.88 kB / 1.177 GB, free: 11.98 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7108/0.7118, allocations: 180 MB / 1.352 GB, free: 1.551 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck): time 0.001521/0.7133, allocations: 0.5896 MB / 1.353 GB, free: 0.9609 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.0005617/0.7139, allocations: 313.9 kB / 1.353 GB, free: 0.6562 MB / 1.026 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.384e-05/0.7139, allocations: 0 / 1.353 GB, free: 0.6562 MB / 1.026 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.7139, allocations: 7.938 kB / 1.353 GB, free: 0.6484 MB / 1.026 GB Notification: Performance of NFTyping.typeBindings: time 2.105e-05/0.714, allocations: 0 / 1.353 GB, free: 0.6484 MB / 1.026 GB Notification: Performance of NFTyping.typeClassSections: time 0.000463/0.7144, allocations: 112.9 kB / 1.353 GB, free: 0.5391 MB / 1.026 GB Notification: Performance of NFFlatten.flatten: time 6.272e-05/0.7145, allocations: 15.94 kB / 1.353 GB, free: 0.5234 MB / 1.026 GB Notification: Performance of NFFlatten.resolveConnections: time 5.496e-05/0.7145, allocations: 7.969 kB / 1.354 GB, free: 0.5156 MB / 1.026 GB Notification: Performance of NFEvalConstants.evaluate: time 2.026e-05/0.7146, allocations: 4 kB / 1.354 GB, free: 0.5117 MB / 1.026 GB Notification: Performance of NFSimplifyModel.simplify: time 5.874e-05/0.7146, allocations: 3.984 kB / 1.354 GB, free: 0.5078 MB / 1.026 GB Notification: Performance of NFPackage.collectConstants: time 1.295e-05/0.7146, allocations: 4 kB / 1.354 GB, free: 0.5039 MB / 1.026 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003292/0.715, allocations: 255.7 kB / 1.354 GB, free: 260 kB / 1.026 GB Notification: Performance of NFScalarize.scalarize: time 1.645e-05/0.715, allocations: 3.984 kB / 1.354 GB, free: 256 kB / 1.026 GB Notification: Performance of NFVerifyModel.verify: time 2.184e-05/0.715, allocations: 11.94 kB / 1.354 GB, free: 244 kB / 1.026 GB Notification: Performance of NFConvertDAE.convert: time 0.0001752/0.7152, allocations: 90.03 kB / 1.354 GB, free: 156 kB / 1.026 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.7152, allocations: 4 kB / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of FrontEnd: time 2.054e-06/0.7152, allocations: 0 / 1.354 GB, free: 152 kB / 1.026 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.7152, allocations: 0 / 1.354 GB, free: 152 kB / 1.026 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003588/0.7156, allocations: 266.2 kB / 1.354 GB, free: 15.86 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.7156, allocations: 8.922 kB / 1.354 GB, free: 15.85 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.464e-05/0.7156, allocations: 34.75 kB / 1.354 GB, free: 15.8 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.784e-05/0.7157, allocations: 16.86 kB / 1.354 GB, free: 15.79 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.7158, allocations: 106.5 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.295e-05/0.7158, allocations: 384 / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.7158, allocations: 4.375 kB / 1.354 GB, free: 15.66 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001164/0.7159, allocations: 55.97 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.7159, allocations: 3.938 kB / 1.354 GB, free: 15.59 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.716, allocations: 4 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.344e-06/0.716, allocations: 3.984 kB / 1.354 GB, free: 15.58 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.716, allocations: 4 kB / 1.354 GB, free: 15.57 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001518/0.7161, allocations: 124.7 kB / 1.354 GB, free: 15.41 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 5.264e-05/0.7162, allocations: 26.55 kB / 1.354 GB, free: 15.38 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.887e-05/0.7162, allocations: 8.844 kB / 1.355 GB, free: 15.36 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004293/0.7166, allocations: 75.98 kB / 1.355 GB, free: 15.29 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.7167, allocations: 34.56 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of pre-optimization done (n=2): time 8.92e-07/0.7167, allocations: 0 / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of matching and sorting (n=3): time 0.0004486/0.7171, allocations: 173.2 kB / 1.355 GB, free: 15.04 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.839e-05/0.7171, allocations: 55.41 kB / 1.355 GB, free: 14.98 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.316e-05/0.7172, allocations: 97.84 kB / 1.355 GB, free: 14.87 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 1.163e-05/0.7172, allocations: 25.7 kB / 1.355 GB, free: 14.84 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 2.387e-05/0.7172, allocations: 80.14 kB / 1.355 GB, free: 14.76 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.528e-05/0.7173, allocations: 20.19 kB / 1.355 GB, free: 14.74 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.97e-05/0.7173, allocations: 17.72 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 8.472e-05/0.7174, allocations: 318.8 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.7174, allocations: 7.938 kB / 1.355 GB, free: 14.39 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.431e-05/0.7174, allocations: 13.72 kB / 1.355 GB, free: 14.37 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.315e-05/0.7175, allocations: 33.66 kB / 1.355 GB, free: 14.33 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.993e-06/0.7175, allocations: 4 kB / 1.355 GB, free: 14.32 MB / 1.042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.443e-05/0.7175, allocations: 53.62 kB / 1.355 GB, free: 14.27 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7176, allocations: 7.938 kB / 1.355 GB, free: 14.26 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.7176, allocations: 4.062 kB / 1.355 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.7176, allocations: 0 / 1.355 GB, free: 14.25 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.463e-05/0.7176, allocations: 11.98 kB / 1.355 GB, free: 14.24 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.7176, allocations: 0 / 1.355 GB, free: 14.24 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.387e-05/0.7176, allocations: 0 / 1.355 GB, free: 14.24 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.7176, allocations: 7.938 kB / 1.355 GB, free: 14.23 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.534e-05/0.7177, allocations: 105.8 kB / 1.356 GB, free: 14.12 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.21e-05/0.7177, allocations: 11.94 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001039/0.7178, allocations: 53.31 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.7178, allocations: 4 kB / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.7178, allocations: 0 / 1.356 GB, free: 14.05 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.7178, allocations: 3.984 kB / 1.356 GB, free: 14.04 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.734e-05/0.7179, allocations: 120.8 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7179, allocations: 0 / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.803e-05/0.718, allocations: 4 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.718, allocations: 8.125 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.718, allocations: 3.984 kB / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.718, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.718, allocations: 0 / 1.356 GB, free: 13.87 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.7181, allocations: 89.09 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.31e-06/0.7181, allocations: 7.875 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.798e-06/0.7181, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.286e-05/0.7181, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.502e-05/0.7181, allocations: 7.984 kB / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.7181, allocations: 0 / 1.356 GB, free: 13.75 MB / 1.042 GB Notification: Performance of sorting global known variables: time 2.532e-05/0.7182, allocations: 79.28 kB / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of sort global known variables: time 6e-08/0.7182, allocations: 0 / 1.356 GB, free: 13.67 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0002248/0.7184, allocations: 23.94 kB / 1.356 GB, free: 13.64 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (y) * 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 (3): * Single equations (assignments): 3 * 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.0004014/0.7188, allocations: 0.6438 MB / 1.357 GB, free: 12.97 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 8.283e-05/0.7189, allocations: 27.86 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.814e-06/0.7189, allocations: 0 / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 1.143e-05/0.7189, allocations: 4 kB / 1.357 GB, free: 12.94 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000147/0.719, allocations: 6.062 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008293/0.7199, allocations: 1.143 MB / 1.358 GB, free: 11.7 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.695e-05/0.7199, allocations: 59.22 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.7199, allocations: 16.11 kB / 1.358 GB, free: 11.61 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002719/0.7202, allocations: 11.42 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of SimCode: time 4.31e-07/0.7202, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/0.8312, allocations: 2.231 MB / 1.36 GB, free: 9.496 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.169/8, allocations: 14.52 kB / 1.36 GB, free: 9.492 MB / 1.042 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck_fmu --startTime=-1 --stopTime=1 --stepSize=0.0008 --timeout=50 --tolerance=1e-08 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_fmpy.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_fmpy_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Utilities_Math_Functions_Examples_RegNonZeroPowerDerivativeCheck.fmu) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.RegNonZeroPowerDerivativeCheck_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.917448653839529]